aeroson

Untitled

Sep 9th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. handle_1 = [] spawn {
  2. while{true} do {
  3.  
  4. sleep 60;
  5.  
  6. // if there is over certain number of groups (162?) for one side, you can not create new groups anymore
  7. // lets delete empty groups then, so zeus can spawn more units
  8. {
  9. if(local _x && count units _x == 0) then {
  10. deleteGroup _x;
  11. sleep 1;
  12. };
  13. } forEach allGroups;
  14.  
  15. // prevent negative rating
  16. if(player == player && {rating player < 0}) then {
  17. player addRating (-(rating player));
  18. };
  19.  
  20. };
  21. };
Advertisement
Add Comment
Please, Sign In to add comment