helpme Posted October 26, 2011 Posted October 26, 2011 function onchat() local lines = getChatboxLayout()["chat_lines"] for _,item in ipairs(players) do if lines == "fuc_k" then outputChatBox("") end end end addEventHandler("onClientChatMessage", getRootElement(), onchat) Not work
TAPL Posted October 26, 2011 Posted October 26, 2011 maybe this? if not this what you want Explain exactly what you want function onchat(text) if text == "fuc_k" then local lines = getChatboxLayout()["chat_lines"] for i=1,lines do outputChatBox("") end end end addEventHandler("onClientChatMessage", getRootElement(), onchat)
helpme Posted October 26, 2011 Author Posted October 26, 2011 i want Anyone who writes in the chat word fuc_k Delete the words
^Dev-PoinT^ Posted October 26, 2011 Posted October 26, 2011 Like This function onchat(text) if text == "fuc_k" then local lines = getChatboxLayout()["chat_lines"] for i=1,lines do cancelEvent end end end addEventHandler("onClientChatMessage", getRootElement(), onchat)
TAPL Posted October 26, 2011 Posted October 26, 2011 -- Server Side -- addEventHandler("onPlayerChat",root, function (text) if (text == "fuc_k") then cancelEvent() end end)
helpme Posted October 26, 2011 Author Posted October 26, 2011 Are you stupid or what? I do not want cancelEvent I need player write in the chat fuc_k Delete the words in the chat not cancelevent Dude
mjau Posted October 26, 2011 Posted October 26, 2011 Second time you call someone stupid i really hope everyone will stop helping you
^Dev-PoinT^ Posted October 26, 2011 Posted October 26, 2011 Are you stupid or what? The CancelEvent delete the word ! You Are Really Noob!
TAPL Posted October 26, 2011 Posted October 26, 2011 Are you stupid or what?I do not want cancelEvent I need player write in the chat fuc_k Delete the words in the chat not cancelevent Dude I'm stupid and you are intelligent solve your problem yourself
helpme Posted October 26, 2011 Author Posted October 26, 2011 Are you stupid or what?I do not want cancelEvent I need player write in the chat fuc_k Delete the words in the chat not cancelevent Dude I'm stupid and you are intelligent solve your problem yourself Get out of topic stupid{{
helpme Posted October 26, 2011 Author Posted October 26, 2011 lol TAPL is angry Did you know you really are stupid Get out of topic
mjau Posted October 26, 2011 Posted October 26, 2011 LOL Helpme you are the one who is stupid ... TAPL And the others in this topic exept you know LUA ...
mjau Posted October 26, 2011 Posted October 26, 2011 LOL then we have 5 mojrm because mojrm aleready has 4 accs btw isnt it bann able for only 2 accs ?
Castillo Posted October 26, 2011 Posted October 26, 2011 @helpme: If you expect to get help with that attitude, then you're COMPLETELY wrong, nobody will help you if you insult them, because your English totally s*** and you can't explain what do you REALLY want.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now