is there a way to easily remove player chat messages from my game? i saw some old forums with a mod by PitzerMike. just wondering if i should follow and use that if it still works or if there's a new way.
It is not recommended to do this as it can annoy players.
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_CHAT_MSG, 0), false)
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, 2), false) // hide F12 button
And what happens when you type command lines? It is registered in F12 and shown to all players... Unless you're talking about blizzard commands with "/".id like to hide command lines not the normal player chat.
Oh, so you meant hiding "specific" chat messages, not all of them...id like to hide command lines not the normal player chat. i dont think it would be annoying. like im making an RGP survival game and you can name your character -name ##### i dont want other players to see that trash.
Sounds like you are using JASS still. Lua syntax check will not generate such error.Line 135: Expected: "takes"