Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_setupActions.sqf
- Author:
- Description:
- Master addAction file handler for all client-based actions.
- */
- switch (playerSide) do {
- case civilian: {
- //Présenter son passeport
- 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" ']];
- };
- life_actions pushBack (player addAction["<t color = '#D660D6'>Attacher votre ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' !life_seatbelt && vehicle player != player ']);
- life_actions pushBack (player addAction["<t color = '#D660D6'>Détaché votre Ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' life_seatbelt && vehicle player != player ']);
- };
- case west: {
- //Présenter son insigne
- 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" ']];
- };
- life_actions pushBack (player addAction["<t color = '#D660D6'>Attacher votre ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' !life_seatbelt && vehicle player != player ']);
- life_actions pushBack (player addAction["<t color = '#D660D6'>Détaché votre Ceinture</t>",life_fnc_seatbelt,"",7,false,false,"",' life_seatbelt && vehicle player != player ']);
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement