Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. /*
  2. File: fn_setupActions.sqf
  3. Author:
  4.  
  5. Description:
  6. Master addAction file handler for all client-based actions.
  7. */
  8. switch (playerSide) do {
  9. case civilian: {
  10. //Présenter son passeport
  11. life_actions = life_actions + [player addAction["<t color='#00FF00'>Présenter son passeport</t>",life_fnc_civShowLicense,"",1,false,true,"",' playerSide == civilian && !isNull cursorTarget && cursorTarget isKindOf "Man" ']];
  12. };
  13.  
  14. life_actions pushBack (player addAction["<t color = '#D660D6'>Attacher votre ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' !life_seatbelt && vehicle player != player ']);
  15. life_actions pushBack (player addAction["<t color = '#D660D6'>Détaché votre Ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' life_seatbelt && vehicle player != player ']);
  16. };
  17.  
  18. case west: {
  19. //Présenter son insigne
  20. life_actions = life_actions + [player addAction["<t color='#1F80C9'>Présenter son insigne</t>",life_fnc_copShowLicense,"",1,false,true,"",' playerSide == west && !isNull cursorTarget && cursorTarget isKindOf "Man" ']];
  21. };
  22.  
  23. life_actions pushBack (player addAction["<t color = '#D660D6'>Attacher votre ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' !life_seatbelt && vehicle player != player ']);
  24. life_actions pushBack (player addAction["<t color = '#D660D6'>Détaché votre Ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' life_seatbelt && vehicle player != player ']);
  25. };
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement