Код:
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