Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (pos[0] == 0 && pos[1] == 0)
- {
- PrintToChatAll("\x01\x0B \x04[HvH] %s tried to use Teleport.", clientname);
- ForcePlayerSuicide(i);
- }
- if (view_pos[0] > 90 || view_pos[0] < -90)
- {
- PrintToChatAll("\x01\x0B \x04[HvH] %s uses invalid angles (X: %f, Y: %f, Z: %f)", clientname, view_pos[0], view_pos[1], view_pos[2]);
- ForcePlayerSuicide(i);
- }
- if (view_pos[1] > 180 || view_pos[1] < -180)
- {
- PrintToChatAll("\x01\x0B \x04[HvH] %s uses invalid angles (X: %f, Y: %f, Z: %f)", clientname, view_pos[0], view_pos[1], view_pos[2]);
- ForcePlayerSuicide(i);
- }
- if (view_pos[3] > 1080 || view_pos[2] < -1080)
- {
- PrintToChatAll("\x01\x0B \x04[HvH] %s uses invalid angles (X: %f, Y: %f, Z: %f)", clientname, view_pos[0], view_pos[1], view_pos[2]);
- ForcePlayerSuicide(i);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement