Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. [] spawn {
  2. "+_randvar26+" = true;
  3. "+_randvar36+" = true;
  4. _goodguys = "+str _allAdmins+";
  5. _zero = ""
  6. if(isNil'"+_randvar41+"')then{"+_t1+" = nil;"+_t2+" = nil;"+_t3+" = nil;"+_t4+" = nil;"+_randvar41+"='1';};
  7. if(!isServer)then
  8. {
  9. {if!(isNil _x)then{BRKNFNC = 'BRKNFNC';publicVariable 'BRKNFNC';};} forEach ['time','diag_tickTime'];
  10. if((time > 120)&&(diag_tickTime > 120))then
  11. {
  12. {
  13. if(!isNil '_x')then
  14. {
  15. if(typeName _x == 'SCALAR')then
  16. {
  17. _ttime = call {
  18. if(_forEachIndex==0)exitWith{30};
  19. if(_forEachIndex==1)exitWith{30};
  20. 60
  21. };
  22. _okTime = call {
  23. if(diag_fps < 2)exitWith{_ttime+10;};
  24. if(diag_fps < 20)exitWith{_ttime+5};
  25. _ttime
  26. };
  27. _timedif = diag_tickTime - _x;
  28. if((_timedif > _okTime)&&(_timedif < 321))then
  29. {
  30. _log = format['T%1 did not update in %2s (old time %3, new time %4). FPS: %5. (KICKED)',_forEachIndex+1,_timedif,_x,diag_tickTime,diag_fps];
  31. [name player,getPlayerUID player,'SLOG',toArray (_log)] call "+_randvar259037+";
  32. (findDisplay 46)closeDisplay 0;
  33. };
  34. }
  35. else
  36. {
  37. _log = format['typeName of T%1 changed to %2: %3! (BANNED)',_forEachIndex+1,typeName _x,_x];
  38. [name player,getPlayerUID player,'BAN',toArray (_log)] call "+_randvar259037+";
  39. [] spawn "+_randvar2+";
  40. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement