helpme Posted October 26, 2011 Share 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 Link to comment
TAPL Posted October 26, 2011 Share 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) Link to comment
helpme Posted October 26, 2011 Author Share Posted October 26, 2011 i want Anyone who writes in the chat word fuc_k Delete the words Link to comment
^Dev-PoinT^ Posted October 26, 2011 Share 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) Link to comment
TAPL Posted October 26, 2011 Share Posted October 26, 2011 -- Server Side -- addEventHandler("onPlayerChat",root, function (text) if (text == "fuc_k") then cancelEvent() end end) Link to comment
helpme Posted October 26, 2011 Author Share 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 Link to comment
mjau Posted October 26, 2011 Share Posted October 26, 2011 Second time you call someone stupid i really hope everyone will stop helping you Link to comment
^Dev-PoinT^ Posted October 26, 2011 Share Posted October 26, 2011 Are you stupid or what? The CancelEvent delete the word ! You Are Really Noob! Link to comment
TAPL Posted October 26, 2011 Share 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 Link to comment
helpme Posted October 26, 2011 Author Share 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{{ Link to comment
helpme Posted October 26, 2011 Author Share Posted October 26, 2011 lol TAPL is angry Did you know you really are stupid Get out of topic Link to comment
TAPL Posted October 26, 2011 Share Posted October 26, 2011 try to kick me from the topic. Link to comment
mjau Posted October 26, 2011 Share Posted October 26, 2011 LOL Helpme you are the one who is stupid ... TAPL And the others in this topic exept you know LUA ... Link to comment
TAPL Posted October 26, 2011 Share Posted October 26, 2011 if i'm not wrong (helpme == MOJRM-511) Link to comment
mjau Posted October 26, 2011 Share 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 ? Link to comment
Castillo Posted October 26, 2011 Share 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. Link to comment
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