Admin Command List
#4

Quote:
Originally Posted by ThaKing
I have an admin system installed, and all done. What is the PAWN code, so if someone typed "/adcdms" as atleast level 1 admin, they get a list? I would list all the commands, I just need the code. Thanks
Something like this?
Quote:

if(strcmp("/acmds", cmdtext, true, 10) == 0)
{
if(pAdminLvl[playerid] > 1) {
SendClientMessage(playerid, 0xFFFFFFFF, "[ADMINCMD]: /bla /bla /bla");
SendClientMessage(playerid, 0xFFFFFFFF, "[ADMINCMD]: /bla /bla /bla");
SendClientMessage(playerid, 0xFFFFFFFF, "[ADMINCMD]: /bla /bla /bla");
SendClientMessage(playerid, 0xFFFFFFFF, "[ADMINCMD]: /bla /bla /bla");
return 1;
}
}
return SendClientMessage(playerid, 0xFFFFFFFF, "You are not a admin!");
}

I hope that this was were you was searching for
Reply


Messages In This Thread
Admin Command List - by ablogwriter - 06.06.2010, 13:43
Re: Admin Command List - by Jochemd - 06.06.2010, 13:45
Re: Admin Command List - by ablogwriter - 06.06.2010, 13:46
Re: Admin Command List - by Ihsan_Cingisiz - 06.06.2010, 13:46
Re: Admin Command List - by Jochemd - 06.06.2010, 13:46
Re: Admin Command List - by ablogwriter - 06.06.2010, 13:50
Re: Admin Command List - by Jochemd - 06.06.2010, 13:52
Re: Admin Command List - by ablogwriter - 06.06.2010, 13:58
Re: Admin Command List - by Chrham_2 - 06.06.2010, 14:09
Re: Admin Command List - by ablogwriter - 06.06.2010, 14:18
Re: Admin Command List - by ablogwriter - 06.06.2010, 14:22
Re: Admin Command List - by ablogwriter - 06.06.2010, 14:25
Re: Admin Command List - by jamesbond007 - 06.06.2010, 14:26
Re: Admin Command List - by ablogwriter - 06.06.2010, 14:28

Forum Jump:


Users browsing this thread: 2 Guest(s)