Guest User

Untitled

a guest
Jan 7th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.35 KB | None | 0 0
  1. if ( { cursorObject isKindOf _x } count ["landVehicle", "Air", "Ship"] > 0 &&  { player distance cursorObject < 7 } && { isNull objectParent player } && { alive cursorObject } && { !life_action_inUse } ) then
  2. {
  3.     if ( cursorObject in life_vehicles || { locked cursorObject isEqualTo 0 } ) then
  4.     {
  5.         [ cursorObject ] spawn life_fnc_openInventory;
  6.     };
  7. };
Advertisement
Add Comment
Please, Sign In to add comment