[HELP] Connect Ranks to Commands?
#1

I have maked a register system that also counts in your rank, also a /giverank cmd with ranks from 0 to 10.
This is a cmd I'm testing on:

Код:
	if (strcmp("/kill", cmdtext, true, 5) == 0)
	{
	  if (PlayerInfo[playerid][pRank] == 1)
		SetPlayerHealth(playerid, 0.0);
		return 1;
	}
It works, I mean that it's connected to Rank 1, but...
I want all higher ranks to use it to, but they are not allowed to use it, example I'm rank 10, and it dont let me use the cmd's that are connected to lower ranks etc...

Thanks for help
Reply


Messages In This Thread
[HELP] Connect Ranks to Commands? - by FreddeN - 15.07.2009, 23:47
Re: [HELP] Connect Ranks to Commands? - by refshal - 15.07.2009, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)