Admin Command List
#7

Quote:
Originally Posted by [SAG
$KingCory$ ]
Quote:
Originally Posted by Ihsan_Cingisiz
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
Yes, something like that, except when I added that to my code, and compiled it, pawno crashed :/ tried it 2 times.
Use my code. That should work, his one is not created ther right way.
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: 1 Guest(s)