How to Allow con commands through the chat ui dialog.
Hi, heres a basic explanation, you either get it or you dont.first add these lines of text to the file: scripts/chat_commands.txt Add the two lines below into the: key values.
Code:
"GAMEUI_HEROES_CHATCOMMAND_CMD" "" //allow typing /cmd e.x. /cmd cc_system_message "GO KAI IN A CORNER!!" x].
Code:
"GAMEUI_HEROES_CHATCOMMAND_CMD2" "" //same as above but the command is /c instead of /cmd.
Lastly add this into the file heroes_text_english_eu.txt!
Code:
"GAMEUI_HEROES_CHATCOMMAND_CMD" "Cmd" "GAMEUI_HEROES_CHATCOMMAND_CMD2" "c"
So, if you did it right, you can type /c or /cmd into the chat dialog and enter a console command. peace im out
Re: How to Allow con commands through the chat ui dialog.
Tested it and it worked fine, neat trick. Is there anyway to unprotect certain cheat commands like Noclip or NPC Spawn so that a client can use them with this?
Re: How to Allow con commands through the chat ui dialog.
QwQ /c cc_change_figure_bust 3
Re: How to Allow con commands through the chat ui dialog.
Where is file: scripts/chat_commands.txt
Can you please explain in detail I don't know what you mean.