Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function chatCommand( ply, text, public )
  2. if (string.sub(text, 1, 5) == "!free") then
  3. if ply:Team() == TEAM_RUNNER then return false
  4. elseif ply:Team() == TEAM_DEATH then
  5. RunConsoleCommand("ulx", "god", ply:Nick())
  6. end
  7. end
  8. end
  9. hook.Add( "PlayerSay", "chatCommand", chatCommand );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement