shona 10 Posted April 6, 2013 (edited) Hello, i have here a little Vehicle Loadout Script which based on the Simple Vehicle Respawn Script. The Script gives the players the option to drive in the base over a trigger and load specific Loadouts into the cars. The Problem is all cars are allowed, so if someone drive now with a ATV or Jackal 2 (or a other car with a small loadout) then 90% of the Loadout is outside the vehicle and we can restart the server because it lags horrable. The script is a .fsm so what did you need to help me? The "Start" of the .FSM is the following and i think i have to make a array here but then i don't know the next step :( /* ========================================================= Based on Simple Vehicle Respawn Script v1.6 by Tophe of ?stg?ta Ops [OOPS] Put this in the vehicles init line: veh = [this, Delay] execVM "respawn.sqf" Default respawn delay is 30 seconds, to set a custom respawn delay time, put that in the init as well. Like this: veh = [this, 15] execVM "vehicle.sqf" ========================================================= */ // Define variables _unit = _this select 0; _delay = if (count _this > 1) then {_this select 1} else {30}; _hasname = false; _unitname = vehicleVarName _unit; if (_unitname == "") then {_hasname = false;} else {_hasname = true;}; if (_delay < 0) then {_delay = 0}; _dir = getDir _unit; _position = getPosASL _unit; _type = typeOf _unit; _weapons = getWeaponCargo _unit; _mags = getMagazineCargo _unit; And here the whole resupply.fsm https://www.dropbox.com/s/s455r7jmj2ef1yp/resupply.rar Edited April 6, 2013 by Shona Share this post Link to post Share on other sites