Adding Ranks?
#3

Код:
	if (strcmp("/myrank", cmdtext, true, 10) == 0)
	{
  if(GetPlayerScore(playerid) <= 100) {
  SetPlayerName(playerid,"%s[GOOD]", playername);
	}
 	if(100 < GetPlayerScore(playerid) <= 200) {
  SetPlayerName(playerid,"%s[AWESOME]", playername);
	}
 	if(200 < GetPlayerScore(playerid) <= 500) {
  SetPlayerName(playerid,"%s[UNSTOPPABLE]", playername);
	}
 	if(500 < GetPlayerScore(playerid) <= 750) {
  SetPlayerName(playerid,"%s[HOLYSHIT]", playername);
	}
	if(750 < GetPlayerScore(playerid)) {
  SetPlayerName(playerid,"%s[GODLIKE]", playername);
	}
	return 1;
}
ERRORS:

C:\Documents and Settings\Administrator\Desktop\[GM] Public Enemy_LS\gamemodes\pencr.pwn(11887) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\[GM] Public Enemy_LS\gamemodes\pencr.pwn(11890) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\[GM] Public Enemy_LS\gamemodes\pencr.pwn(11893) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\[GM] Public Enemy_LS\gamemodes\pencr.pwn(11896) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\[GM] Public Enemy_LS\gamemodes\pencr.pwn(11899) : warning 202: number of arguments does not match definition
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: 2 Guest(s)