Jump to content

HeLP{{{{


helpme

Recommended Posts

Posted
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 :mrgreen:

Posted

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) 

Posted

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) 

:roll:

Posted

-- Server Side --

addEventHandler("onPlayerChat",root, 
function (text) 
if (text == "fuc_k") then 
          cancelEvent() 
     end 
end) 

Posted

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

Posted
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

Posted
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{{

Posted

@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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...