How to make myself army?
#4

or maybe
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 when you're choosing the skin you can check if player CanUseArmy = 0 or 1337

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;
}
Reply


Messages In This Thread
How to make myself army? - by iCush - 17.03.2012, 19:22
Re: How to make myself army? - by Alternative112 - 17.03.2012, 20:38
Re: How to make myself army? - by WardenCS - 17.03.2012, 20:45
Re: How to make myself army? - by GNGification - 17.03.2012, 21:25

Forum Jump:


Users browsing this thread: 2 Guest(s)