25.05.2013, 16:57
Parabйns уtimo gamemode .
Sу acho que isso aqui nгo iria funcionar corretamente
iria mostrar o nick do ultimo id
Sу acho que isso aqui nгo iria funcionar corretamente
pawn Код:
command(reidoscore, playerid, params[])
{
new DDS[230];
for(new i; i <= MAX_PLAYERS; ++i)
{
if(PlayerInfo[i][pScore] >= PlayerInfo[i][pScore])
{
format(DDS, sizeof DDS,"{00FF00}[1°]{000FFF} %s {FFFFFF}-{FF0000} %d {FFFFFF}Pontos\n", Nome(i), PlayerInfo[i][pScore]);
break;
}
}
ShowPlayerDialog(playerid, DIALOG_RANK, DIALOG_STYLE_MSGBOX, "Rank", DDS, "Fechar", "");
return true;
}
command(reidodrift, playerid, params[])
{
new DDS[230];
for(new i; i <= MAX_PLAYERS; ++i)
{
if(PlayerInfo[i][pPoint] >= PlayerInfo[i][pPoint])
{
format(DDS, sizeof DDS,"{00FF00}[1°]{000FFF} %s {FFFFFF}-{FF0000} %d {FFFFFF}Pontos\n", Nome(i), PlayerInfo[i][pPoint]);
break;
}
}
ShowPlayerDialog(playerid, DIALOG_RANK, DIALOG_STYLE_MSGBOX, "Rank", DDS, "Fechar", "");
return true;
}