31.03.2018, 00:18
Quote:
Nгo,a mensagem iria repetir vбrias vezes...
O certo seria desse modo : PHP код:
|
PHP код:
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(15779) : error 035: argument type mismatch (argument 1)
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(15779) : error 035: argument type mismatch (argument 1)
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(15780) : error 035: argument type mismatch (argument 2)
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(15782) : warning 203: symbol is never used: "StrRank"
PHP код:
format(StrRank,sizeof(StrRank),"O jogador com maior level online й %s. Level atual : %d",GetPlayerScore,Maior);
SendClientMessageToAll(-1,StrRank);
}
PHP код:
//topo do gm
new StrRank;
new Maior;
public Ranking(playerid)
{
for(new i = 0; i <= GetPlayerPoolSize(); i++)
{
if(GetPlayerScore(i) > Maior)
{
Maior = GetPlayerScore(i);
}
}
format(StrRank,sizeof(StrRank),"O jogador com maior level online й %s. Level atual : %d",GetPlayerScore,Maior);
SendClientMessageToAll(-1,StrRank);
}