Help with admin levels
#5

Код:
if (strcmp("/armour", cmdtext, true, 10) == 0)
{
if(admin[playerid] >= 2)
{
SetPlayerArmour(playerid,100);
}else{return 0;}
}
return 1;
- Try this as this will allow people over level 2 to use the command also.
if admin level is less then 2 it will return as an unknown cmd
Good luck
Reply


Messages In This Thread
Help with admin levels - by [asg]davo - 14.06.2010, 21:57
Re: Help with admin levels - by Naxix - 14.06.2010, 22:01
Re: Help with admin levels - by [asg]davo - 14.06.2010, 22:06
Re: Help with admin levels - by Naxix - 14.06.2010, 22:11
Re: Help with admin levels - by Cameltoe - 14.06.2010, 22:14
Re: Help with admin levels - by [asg]davo - 14.06.2010, 22:25
Re: Help with admin levels - by Antonio [G-RP] - 14.06.2010, 22:27
Re: Help with admin levels - by Cameltoe - 14.06.2010, 22:41
Re: Help with admin levels - by [asg]davo - 15.06.2010, 06:26

Forum Jump:


Users browsing this thread: 1 Guest(s)