aeroson

Untitled

Aug 30th, 2013
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. /*
  2. NAME: whatever.sqf
  3. USAGE: in (client's) init:
  4. 0=[]execVM 'whatever.sqf';
  5.  
  6. */
  7.  
  8.  
  9. if(isDedicated) exitWith {};
  10.  
  11. _uids = []; // put allowed uids here
  12. _items = [uniform player]; // put items to check here
  13.  
  14. _allowed = (getPlayerUID player) in _uids;
  15.  
  16.  
  17. while{!_allowed} do {
  18. sleep 5;
  19. if((uniform player) in _items) then {
  20. removeUniform player;
  21. };
  22. if((headgear player) in _items) then {
  23. removeHeadgear player;
  24. };
  25. if((vest player) in _items) then {
  26. removeVest player;
  27. };
  28. };
Advertisement
Add Comment
Please, Sign In to add comment