How do gm commands can be used only by people 250lvl?
Printable View
How do gm commands can be used only by people 250lvl?
GM commands are possible when you'r a [GM], set your `acceslevel` at your database ( Navicat @ list_Config) to 500, and you'll be a GameMaster, commands can be used wheter level 1 or 250.
or if you wanted to make commands only usable by GMs, mods, admins, and level 250 players, you could always set a check in the source to see if the player is level 250 or greater; something like
Code:if (thisclient->Stats->level > 249 || isGM) {
Code stuff that I'm too lazy to write
}