Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_pulloutAction.sqf
- Author: Bryan "Tonic" Boardwine
- Description:
- Pulls civilians out of a car if it's stopped.
- */
- private["_crew"];
- _crew = crew cursorTarget;
- {
- if(playerSide == civilian && (_x getVariable "restrained")) then
- {
- _x setVariable ["transporting",false,true]; _x setVariable ["Escorting",false,true];
- [_x] remoteExecCall ["life_fnc_pulloutVeh",_x];
- };
- if(playerSide == west) then
- {
- _x setVariable ["transporting",false,true]; _x setVariable ["Escorting",false,true];
- [_x] remoteExecCall ["life_fnc_pulloutVeh",_x];
- };
- } foreach _crew;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement