#How to enable cheats?
1 messages · Page 1 of 1 (latest)
that function does not enable cheats
Found 1 function for ischeatmode
🇸 🇨 CDOTAGameRules:IsCheatMode(): bool
Are cheats enabled on the server.
cheats work in tools mode because you are the server host
to enable cheats you need to use the console command sv_cheats 1 on the server
or, when making the lobby you can tick the checkbox that enables cheats
lobby needs a password if you want to enable cheats
Eh somehow, when i choose local host server, and cheat enabled with password. When i type svcheat in console the output like "cant change server convar bla bla.."
yes, its a server only command.
but the check box when you are making the lobby enables it on the server. you dont need to use sv_cheats 1 if its already enabled
when you use local host in the normal dota client your pc is both the server and client, but the ingame console you use is for the client only
also, the prefix sv_ denotes a server command
Ah i see, ty for that info
I wonder if SendToServerConsole('sv_cheats 1') then, I'll try.