Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SA_Take_Tow_Ropes_Action = {
- private ["_vehicle","_canTakeTowRopes"];
- _vehicle = cursorTarget;
- if([_vehicle] call SA_Can_Take_Tow_Ropes) then {
- _canTakeTowRopes = true;
- if!(missionNamespace getVariable ["SA_TOW_LOCKED_VEHICLES_ENABLED",false]) then {
- if( locked _vehicle > 1 ) then {
- ["Cannot take tow ropes from locked vehicle",false] call SA_Hint;
- _canTakeTowRopes = false;
- };
- };
- if!(missionNamespace getVariable ["SA_TOW_IN_EXILE_SAFEZONE_ENABLED",false]) then {
- if(!isNil "ExilePlayerInSafezone") then {
- if( ExilePlayerInSafezone ) then {
- ["Cannot take tow ropes in safe zone",false] call SA_Hint;
- _canTakeTowRopes = false;
- };
- };
- };
Add Comment
Please, Sign In to add comment