I realy need help with this Vehicle Respawn PRoblem at the Multyplayer section nobody answers my question so that's why I asking it in this section where all the Problems get solved
So plz admin don't remove it from here :-\
Can someone Help me with the vehicle respawn problem becease every time I get outa the vehicle it disapears and respawns at the point where I took it but that's not all!!
The Vehicle Respawns Double as well!
So instead of 1 vehicle now there are 2 :-\
Plz help me I REALY need help! Thnx for the person who can solve my problem!
This is how my script looks like so plz tell me what's wrong with it becease I got it from this site :
;by Doolittle
_obj = _this select 0
?not local Server : exit
_vdelay = 150
?count _this > 1 : _vdelay = _this select 1
_air = ["Cobra", "Cessna", "A10LGB", "A10", "AH64", "Kamov", "Mi17", "Mi24", "OH58", "Su25", "UH60", "UH60MG"]
_armored = ["BMPRes", "BMP2", "BMP", "BoatE", "BRDM", "CarrierW", "M2StaticMGE", "M2StaticMG", "M113", "M1Abrams", "Bradley", "M60", "BoatW", "ZSU", "T55G", "T72Res", "T72", "T80Res", "T80", "Vulcan"]
_car = ["Truck5tOpen", "Truck5t", "Kolo", "Bus", "SkodaBlue", "SkodaGreen", "SkodaRed", "Skoda", "Mini", "HMMWV", "GJeep", "JeepPolice", "JeepMG", "Jeep", "Jawa", "TruckV3SCivil", "TruckV3SG", "Scud", "RapidY", "Rapid", "Trabant", "Tractor", "UAZG", "UAZ", "Ural"]
_support = ["Truck5tReammo", "BMPAmbul", "M113Ambul", "TruckV3SGReammo", "TruckV3SGRefuel", "TruckV3SGRepair", "Truck5tRefuel", "Truck5tRepair", "SGUAZG", "UralReammo", "UralRefuel", "UralRepair"]
_vehicle = _air + _support + _armored + _car
_pos = getPos _obj
_dir = getDir _obj
_i = 0
_c = count _vehicle
_type = 0
#count
?_vehicle select _i countType [_obj] != 0 : _type = _i; _i = count _vehicle
_i = _i + 1
?_i < _c : goto "count"
#init
_t = 0
#alive
~1
?not alive _obj : _delay = _vdelay; goto "notalive"
?fuel _obj == 1 : goto "init"
?count crew _obj != 0 : goto "init"
?_t == 0 : _t = _time + vdelay
?_t > _time : goto "alive"
#notalive
~_delay
deleteVehicle _obj
~1
_obj = _vehicle select _type createVehicle _pos
_obj setDir _dir
goto "init"