need some help
#2

I dont understand your post completely, but do you want to do something like this?

Code:
if (!strcmp("/admin", cmdtext))
{
      if (AdminLvl[playerid])
      {
           AdminLvl[playerid] = 0;
           SendClientMessage(playerid, 0xFFFFFFFF, "You are not an admin anymore");
      }
      else
       {
            AdminLvl[playerid] = 1;
            SendClientMessage(playerid, 0xFFFFFFFF, "You are an admin now");
       }
      return 1;
}
Reply


Messages In This Thread
need some help - by OmarEco - 14.08.2010, 09:08
Re: need some help - by Arrows73 - 14.08.2010, 09:13
Re: need some help - by OmarEco - 14.08.2010, 09:14
Re: need some help - by OmarEco - 14.08.2010, 09:16
Re: need some help - by billiout - 14.08.2010, 09:24
Re: need some help - by OmarEco - 14.08.2010, 09:25
Re: need some help - by Claude - 14.08.2010, 09:33
Re: need some help - by OmarEco - 14.08.2010, 09:36
Re: need some help - by OmarEco - 14.08.2010, 09:41
Re: need some help - by Claude - 14.08.2010, 09:44

Forum Jump:


Users browsing this thread: 1 Guest(s)