Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function donateCommand( pl, text, teamonly )
- if (text == "!donate") then
- pl:SendLua([[gui.OpenURL("http://myurl.com/donate")]]) -- Change ADDRESS to your chosen page.
- end
- end
- end
- hook.Add( "PlayerSay", "Chat", donateCommand
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement