Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. function chatCommand( ply, text, public )
  2.     if (string.sub(text, 1, 7) == "!donate") then --if the first 4 letters are /die, kill him
  3.          gui.OpenURL( "http://alphaxerctic.co.uk/buy/" )
  4.          return(false)
  5.     end
  6. end
  7. hook.Add( "PlayerSay", "chatCommand", chatCommand );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement