Quote:
Originally Posted by ratawar
I took the freedom to syntax update this plugin and fix it a little bit for myself. Added multicolors and AutoExecConfig also. Let me know if I did more harm than good, if that's the case.
|
You stripped the admin commands of their required flags. Anyone who downloads your version will be giving all players access to god/buddha mode on their servers...
PHP Code:
RegAdminCmd("sm_god", Command_God, 0, "sm_god [#userid|name] [0/1] - Toggles godmode on player(s)");
RegAdminCmd("sm_buddha", Command_Buddha, 0, "sm_buddha [#userid|name] [0/1] - Toggles buddha mode on player(s)");
RegAdminCmd("sm_mortal", Command_Mortal, 0, "sm_mortal [#userid|name] - Makes specified players mortal");
__________________