Advertisement
TheAce106

Untitled

Aug 22nd, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.82 KB | None | 0 0
  1. this enableSimulation false; this allowDamage false; this addAction["Vehicle Garage",  {   [[getPlayerUID player,playerSide,"Air",player],"TON_fnc_getVehicles",false,false] spawn life_fnc_MP;  life_garage_type = "Air"; createDialog "Life_impound_menu";   disableSerialization;   ctrlSetText[2802,"Fetching Vehicles...."];   life_garage_sp = "pair_g_1";  }]; this addAction["Store vehicle in Garage",  {   private["_nearVehicle"];   _nearVehicle = nearestObjects[(getPos (_this select 0)),["Car","Ship","Air"],35] select 0;   if(isNil "_nearVehicle") exitWith {hint "There isn't a vehicle near this NPC.";};   [[_nearVehicle,false,(_this select 1)],"TON_fnc_vehicleStore",false,false] spawn life_fnc_MP;   hint "The server is trying to store the vehicle please wait....";   life_garage_store = true;  },"",0,false,false,"",'!life_garage_store'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement