/duty Bugged
#3

Код:
New AdminDuty[MAX_PLAYERS];//Put onplayerspawn AdminDuty[playerid] = 0;
CMD:duty(playerid,params[])
{
//Put check if is player admin
if(AdminDuty[playerid] == 0)
{
SCM(playerid,-1,"You Are On Duty");
AdminDuty[playerid] = 1;
}
else if(AdminDuty[playerid] == 1)
{
SCM(playerid,-1,"You Are Off Duty");
AdminDuty[playerid] = 0;
}
return 1;
}
I Think this shud work
Reply


Messages In This Thread
/duty Bugged - by AYOUYOU - 09.11.2014, 07:13
Re : /duty Bugged - by AYOUYOU - 09.11.2014, 07:21
Re: /duty Bugged - by mirza1221 - 09.11.2014, 07:23
Re: /duty Bugged - by Quickie - 09.11.2014, 07:25
Re: /duty Bugged - by Banana_Ghost - 09.11.2014, 07:26
Re: /duty Bugged - by dominik523 - 09.11.2014, 08:21

Forum Jump:


Users browsing this thread: 3 Guest(s)