Advertisement
Guest User

Untitled

a guest
May 29th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. function USay.ChatFunction( ply, text )
  2. if ply:IsValid() then
  3. for k, v in pairs(USay.WordList) do
  4. if string.find( text, k ) then
  5. ply:EmitSound(USay.WordList[k])
  6. return text
  7. end
  8. end
  9. end
  10. end
  11. hook.Add("PlayerSay", "USay.ChatFunction_Hook", USay.ChatFunction) --Emoticons End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement