Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. chattable = {} addEventHandler('onPlayerChat',root,function(msg,msgtype)            if msgtype == 1 then    table.insert(chattable,msg)                              if string.find(chattable,msg) then                      setElementData(source,'chat',getElementData(source,'chat')+1)        if setElementData(source,'chat') == 5 then         kickPlayer(source,'spam')                                 end                                end                                end                                end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement