Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ["Vehicles", "Cook-off Vehicle", {
- _unit = [_logic, false] call Ares_fnc_GetUnitUnderCursor;
- if (isNull _unit) exitWith {
- [localize "STR_NO_OBJECT_SELECTED"] call Ares_fnc_ShowZeusMessage;
- playSound "FD_Start_F";
- };
- _unit = vehicle _unit;
- if (!(_unit isKindOf "AllVehicles")) exitWith {
- ["Object is not a vehicle"] call Ares_fnc_ShowZeusMessage;
- playSound "FD_Start_F";
- };
- _unit call ace_cookoff_fnc_cookOff;
- }] call Ares_fnc_RegisterCustomModule;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement