i need an admin cmds ... how can make command like those -
PHP код:
dcmd(admincmd, 8, cmdtext);
dcmd(setweather,10,cmdtext);
dcmd(settime,7,cmdtext);
dcmd(admins, 6, cmdtext);
dcmd(report, 6, cmdtext);
dcmd(reports, 7, cmdtext);
dcmd(asay,4,cmdtext);
dcmd(slap,4,cmdtext);
dcmd(explode,7,cmdtext);
dcmd(spec,4,cmdtext);
dcmd(specoff,7,cmdtext);
dcmd(getip,5,cmdtext);
dcmd(mute,4,cmdtext);
dcmd(unmute,6,cmdtext);
dcmd(kick,4,cmdtext);
dcmd(ban,3,cmdtext);
dcmd(jail,4,cmdtext);
dcmd(unjail,6,cmdtext);
dcmd(freeze,6,cmdtext);
dcmd(unfreeze,8,cmdtext);
dcmd(goto,4,cmdtext);
dcmd(get,3,cmdtext);
dcmd(gmx,3,cmdtext);
dcmd(makemegodadmin,14,cmdtext);
dcmd(makeadmin,9,cmdtext);
dcmd(cchat,5,cmdtext);}
Re: i need an admin cmds ... how can make command like those -
It is not a script request area. Also have you used ****** or search button? if not try to search every command one by one or use a already created admin system and get the commands from there.
Re: i need an admin cmds ... how can make command like those -
he didn't ask for it, he asked how to make ones. lemme explain him.
save the admin level in your saving system. then make the commands while checking whether he is admin or not. you just have to check the pinfo of the playerid who uses cmd.