Jump to content

prevent to say


toha

Recommended Posts

Hello folks!

 

i am new, first day playing around. i've realy tried to search but nothing.

my question is - is possible to prevent player to Say text after hook it?

local function ChatSystem(event, player, msg, _, lang)
    if (msg:find("test") == 1) then      
        player:SendNotification("here 1")      
    end
end

all works perfect but i wanna hide cmd from chat but player say "test". seems like NO because its all on hooks and here no any returns on core.

Thank in advance folks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use