Adding Ranks?
#2

Код:
if (strcmp("/myrank", cmdtext, true, 10) == 0)
	{
  new PName[MAX_PLAYER_NAME];
  GetPlayerName(playerid,PName,MAX_PLAYER_NAME);

    if(GetPlayerScore(playerid) <= 100) {
  SetPlayerName(playerid,"%s[GOOD]",PName);
	}
 	if(100 < GetPlayerScore(playerid) <= 200) {
  SetPlayerName(playerid,"%s[AWESOME]",PName);
	}
 	if(200 < GetPlayerScore(playerid) <= 500) {
  SetPlayerName(playerid,"%s[UNSTOPPABLE]",PName);
	}
 	if(500 < GetPlayerScore(playerid) <= 750) {
  SetPlayerName(playerid,"%s[HOLYSHIT]",PName);
	}
	if(750 < GetPlayerScore(playerid)) {
  SetPlayerName(playerid,"%s[GODLIKE]",PName);
	}
	return 1;
}
Special Thanks to " www.gtaturk.com "
This should work.. Please test it and let me know the resuts..

-TraNe15-
Reply


Messages In This Thread
Adding Ranks? - by Tigerbeast11 - 30.10.2009, 16:52
Re: Adding Ranks? - by TraNe15 - 30.10.2009, 19:39
Re: Adding Ranks? - by Nyafe - 31.10.2009, 10:36
Re: Adding Ranks? - by Tigerbeast11 - 31.10.2009, 12:24
Re: Adding Ranks? - by Zeromanster - 31.10.2009, 13:01
Re: Adding Ranks? - by Tigerbeast11 - 31.10.2009, 13:25

Forum Jump:


Users browsing this thread: 4 Guest(s)