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.