Adminlevel and ModLevel
#1

How do i make modelevel?
That there is Admins AND Modes.

My admin level is 1337 .
And mode level is hmm.. 1335 etc.

Then how i make that CMD to modes etc?
Код:
if(strcmp(cmd, "/disarm", true) == 0 && PlayerAdminLevel[playerid] == 1337)
	{
  tmp = strtok(cmdtext, idx);
  if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /disarm (id)");
  giveplayerid = strval(tmp);
  if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COLOR_RED, "Inactive player ID.");
  ResetPlayerWeapons(giveplayerid);
  return 1;
  }
What should i do?
Reply


Messages In This Thread
Adminlevel and ModLevel - by makogemata - 28.11.2009, 09:53
Re: Adminlevel and ModLevel - by Karlip - 28.11.2009, 09:56
Re: Adminlevel and ModLevel - by makogemata - 28.11.2009, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)