zixxonx Posted November 4, 2013 Posted November 4, 2013 local function playerChat(message, messageType) if getElementData ( source, "tempdata.mute" ) == true then if messageType == 0 then cancelEvent() end end end addEventHandler("onPlayerChat", root, playerChat) it wont to hide the message, i tested and it should work. also this ownt work local function playerChat(message) cancelEvent() end addEventHandler("onPlayerChat", root, playerChat) why?
pa3ck Posted November 4, 2013 Posted November 4, 2013 Its server side, do you have that in your meta.xml?
zixxonx Posted November 4, 2013 Author Posted November 4, 2013 That's server side and i have that file in my meta
zixxonx Posted November 4, 2013 Author Posted November 4, 2013 i already did it but in still wont work
TAPL Posted November 4, 2013 Posted November 4, 2013 You might have other resource that use outputChatBox combined with onPlayerChat. A known resource do this is freeroam.
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