muzzmuzz 1 Posted April 25, 2003 Hi Folks I am using the following script: _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" "BUT" when my vehicles respawn the crews and pilots etc are outside and won't get back in or move. WHAT DO I HAVE TO DO TO SORT THIS?? Please Help! Share this post Link to post Share on other sites
ACES_KEVIN 0 Posted April 25, 2003 eeeekkkk figured this was another respawn question from a n00b who aint search the forums. i would try comparing this to the vrs script over at OFPEC.\ ive always used that one without question and its always worked fine. Share this post Link to post Share on other sites
Novellus 0 Posted October 26, 2004 http://www.ofpec.com/editors/resource_view.php?id=248 Share this post Link to post Share on other sites