Advertisement
anden3

Cook-off Module

Aug 9th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ["Vehicles", "Cook-off Vehicle", {
  2. _unit = [_logic, false] call Ares_fnc_GetUnitUnderCursor;
  3.  
  4. if (isNull _unit) exitWith {
  5. [localize "STR_NO_OBJECT_SELECTED"] call Ares_fnc_ShowZeusMessage;
  6. playSound "FD_Start_F";
  7. };
  8.  
  9. _unit = vehicle _unit;
  10.  
  11. if (!(_unit isKindOf "AllVehicles")) exitWith {
  12. ["Object is not a vehicle"] call Ares_fnc_ShowZeusMessage;
  13. playSound "FD_Start_F";
  14. };
  15.  
  16. _unit call ace_cookoff_fnc_cookOff;
  17. }] call Ares_fnc_RegisterCustomModule;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement