Jump to content

HeLP{{{{


helpme

Recommended Posts

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:

Link to comment

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

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