Advertisement
Guest User

Untitled

a guest
Nov 8th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. function GM:KeyPress( ply, key )
  2.     if (key == IN_ZOOM) then
  3.         if (ply:Team() == TEAM_SPECTATOR) then
  4.         ply:SetTeam(math.random(TEAM_RUNNER, TEAM_DEATH))
  5.         end
  6.     end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement