Hello there, I was wondering if there is a function in Lua to temporarily disable GM commands from beign used on players. (If possible not via queries to edit GM rank in DB since it requires relog to affect the account). Thanks in advance.
Hello there, I was wondering if there is a function in Lua to temporarily disable GM commands from beign used on players. (If possible not via queries to edit GM rank in DB since it requires relog to affect the account). Thanks in advance.
You would have to edit the C++ code in the uncompiled core. When player tries to do X command then if Y is set to 1 for that player then they can continue. If it is set to 0 for that player (use a new command to set it) then don't let them use the commands.