Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.16 KB | None | 0 0
  1. /*
  2.     @Directed by Brone, Dayle & SNAKE.
  3.     @Developper LINUX is Brone.
  4.     @Developper SQF is SNAKE.
  5.     @Hosted by OVH GAMES.
  6.     @Mapped by Dayle.
  7. */
  8. if (playerSide isEqualTo civilian) exitWith { hint "Vous n'avez pas accès à cette option."; };                                //erreur check
  9. if (playerSide isEqualTo independent) exitWith { hint "Vous n'avez pas accès à cette option."; };                         //erreur check
  10. if ((vehicle player) != player) exitWith { hint "Vous êtes dans un véhicule, sortez pour que l'action s'éffectue."; };       //erreur check
  11.  
  12. if (playerSide isEqualTo west) then {
  13.     if (([true,"donuts",3] call life_fnc_handleInv)
  14.     && ([true,"coffee",2] call life_fnc_handleInv)
  15.     && ([true,"spikeStrip",2] call life_fnc_handleInv)
  16.     && ([true,"toolkit",1] call life_fnc_handleInv)
  17.     && ([true,"defibrillator",1] call life_fnc_handleInv)
  18.     && ([true,"redgull",1] call life_fnc_handleInv)
  19.     && ([true,"handcuffs",3] call life_fnc_handleInv)
  20.     && ([true,"barrier",1] call life_fnc_handleInv)) then {
  21.         hint "Vous avez reçu des item(s) dans votre inventaire virtuel.";
  22.     } else {
  23.         hint "Vous êtes full.";
  24.     };
  25. } else {
  26.     hint "Vous n'êtes pas membre des forces armées.";
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement