17.03.2012, 21:25
or maybe
and when you're choosing the skin you can check if player CanUseArmy = 0 or 1337
and of course
pawn Код:
if (strcmp("/setarmy", cmdtext, true) == 0)
{
if(IsPlayerAdmin(playerid)) CanUseArmy[playerid] = 1337;
else SendClientMessage(playerid, 0xFFFFF, "You are not authorized to use this command!");
return 1;
}
and of course
pawn Код:
if (strcmp("/removearmy", cmdtext, true) == 0)
{
if(IsPlayerAdmin(playerid)) CanUseArmy[playerid] = 0;
else SendClientMessage(playerid, 0xFFFFF, "You are not authorized to use this command!");
return 1;
}