Coloca assim:
pawn Код:
new string[256];
SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
if(GetPlayerScore(killerid) == 100) // Amount of required kills to get rank 1 *Biggner'*
{
GetPlayerName(killerid, string, sizeof(string) );
format(string, sizeof(string), ">> %s Avanзou para o nivel *Aspirante'* por matar %d jogadores!", string, GetPlayerScore(killerid) );
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
pRank[playerid] = 1;
}
else if(GetPlayerScore(killerid) == 200) // Amount of required kills to get rank 2 *Soldier*
{
GetPlayerName(killerid, string, sizeof(string) );
format(string, sizeof(string), ">> %s Avanзou para o nivel *Soldado* por matar %d jogadores!", string, GetPlayerScore(killerid));
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
pRank[playerid] = 2;
}
else if(GetPlayerScore(killerid) == 300) // Amount of required kills to get rank 3 *Commander'*
{
GetPlayerName(killerid, string, sizeof(string) );
format(string, sizeof(string), ">> %s Avanзou para o nivel *Comandante'* por matar %d jogadores!", string, GetPlayerScore(killerid));
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
pRank[playerid] = 3;
}
else if(GetPlayerScore(killerid) == 500 ) // Amount of required kills to get rank 4 *Boss*
{
GetPlayerName(killerid, string, sizeof(string) );
format(string, sizeof(string), ">> %s Avanзou para o nivel *Mestre* por matar %d jogadores!", string, GetPlayerScore(killerid));
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
pRank[playerid] = 4;
}
else if(GetPlayerScore(killerid) == 1000) // Amount of required kills to get rank 5 *Don*
{
GetPlayerName(killerid, string, sizeof(string) );
format(string, sizeof(string), ">> %s Chegou ao ULTIMO Nivel!! *Viciado* por matar %d JOGADORES!", string, GetPlayerScore(killerid));
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
pRank[playerid] = 5;
}
return 1;
}
Caso nгo dк, da um TAB no "new string[256];".
To saindo ae, flw, atй amanhг, fui.