Advertisement
Guest User

fn_civShowLicense.sqf

a guest
Nov 12th, 2016
1,982
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.59 KB | None | 0 0
  1. /*
  2.     Show civ license to target player
  3. */
  4.  
  5. private["_target","_message"];
  6.  
  7. _target = cursorTarget;
  8.  
  9. if(playerSide != civilian) exitWith
  10. {
  11.     hint "Tu n'es pas un citoyen !";
  12. };
  13.  
  14. if( isNull _target) then {_target = player;};
  15.  
  16. if( !(_target isKindOf "Man") ) then {_target = player;};
  17.  
  18. if( !(alive _target) ) exitWith { hint "Je crois qu'il t'a mis un vent"; };
  19.  
  20. _message = format["<img size='10' color='#FFFFFF' image='icons\civ.paa'/><br/><br/><t size='2.5'>%1</t><br/><t size='1'>Citoyen d'Altis</t>", name player];
  21.  
  22. [player, _message] remoteExecCall ["life_fnc_civLicenseShown",_target];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement