28.11.2009, 09:53
How do i make modelevel?
That there is Admins AND Modes.
My admin level is 1337 .
And mode level is hmm.. 1335 etc.
Then how i make that CMD to modes etc?
What should i do?
That there is Admins AND Modes.
My admin level is 1337 .
And mode level is hmm.. 1335 etc.
Then how i make that CMD to modes etc?
Код:
if(strcmp(cmd, "/disarm", true) == 0 && PlayerAdminLevel[playerid] == 1337) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /disarm (id)"); giveplayerid = strval(tmp); if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_RED, "Inactive player ID."); ResetPlayerWeapons(giveplayerid); return 1; }