Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(call _fn_check_object)then
- {
- if(_floor)then
- {
- cutText ['Do not glitch through floors!', 'PLAIN'];
- if(time > _floorGlitchReported)then
- {
- _floorGlitchReported = time + 10;
- _wallgames = _wallgames + 1;
- _log = format['FLOOR GLITCH ATTEMPT (attempted breach of %1) - @%2 %3',_type,mapGridPosition _x,getPosATL _x];
- [_name,_puid,'SLOG_GLITCH',toArray(_log)] call _AHKickLog;
- };
- call _fn_push_back;
- }
- else
- {
- cutText ['Do not glitch through walls!', 'PLAIN'];
- if(time > _wallGlitchReported)then
- {
- _wallGlitchReported = time + 10;
- _wallgames = _wallgames + 1;
- _log = format['WALL GLITCH ATTEMPT (attempted breach of %1) - @%2 %3',_type,mapGridPosition _x,getPosATL _x];
- [_name,_puid,'SLOG_GLITCH',toArray(_log)] call _AHKickLog;
- };
- player switchMove '';
- call _fn_push_back;
- };
- };
- };
- } forEach _lineIntersectsObjs;
- if(_wallgames >= 5)then
- {
- //do something here
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement