Advertisement
MGT

Untitled

MGT
Apr 5th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. if(call _fn_check_object)then
  2. {
  3. if(_floor)then
  4. {
  5. cutText ['Do not glitch through floors!', 'PLAIN'];
  6. if(time > _floorGlitchReported)then
  7. {
  8. _floorGlitchReported = time + 10;
  9. _wallgames = _wallgames + 1;
  10. _log = format['FLOOR GLITCH ATTEMPT (attempted breach of %1) - @%2 %3',_type,mapGridPosition _x,getPosATL _x];
  11. [_name,_puid,'SLOG_GLITCH',toArray(_log)] call _AHKickLog;
  12. };
  13. call _fn_push_back;
  14. }
  15. else
  16. {
  17. cutText ['Do not glitch through walls!', 'PLAIN'];
  18. if(time > _wallGlitchReported)then
  19. {
  20. _wallGlitchReported = time + 10;
  21. _wallgames = _wallgames + 1;
  22. _log = format['WALL GLITCH ATTEMPT (attempted breach of %1) - @%2 %3',_type,mapGridPosition _x,getPosATL _x];
  23. [_name,_puid,'SLOG_GLITCH',toArray(_log)] call _AHKickLog;
  24. };
  25. player switchMove '';
  26. call _fn_push_back;
  27. };
  28. };
  29. };
  30. } forEach _lineIntersectsObjs;
  31. if(_wallgames >= 5)then
  32. {
  33. //do something here
  34. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement