[Ajuda]Comandos Invalidos
#3

Quote:
Originally Posted by GuiihCamargo
Посмотреть сообщение
Tente Este:
if(!strcmp(cmdtext, "/rank", true))
{
new
Scor[MAX_PLAYERS],
string[128],
Nome[24]
;
for(new i; i != MAX_PLAYERS; ++i) Scor[i] = GetPlayerScore(i);
BubbleSort(Scor, sizeof(Scor));
for(new i; i != 10; i++)
{
GetPlayerName(playerid, Nome, 24);
format(string, sizeof(string),"NЄ %i Nome: %s Level: %d", i+1, Nome, Scor[i]);
SendClientMessage(playerid, -1, string);
}
return 1;
}[/pawn]
Oque vocк mudou?

Tenta assim:
PHP код:
if(!strcmp("/rank"cmdtexttrue))

new 
Scor[MAX_PLAYERS], 
string[128], 
Nome[24

for(new 
i!= MAX_PLAYERS; ++iScor[i] = GetPlayerScore(i); 
BubbleSort(Scorsizeof(Scor)); 
for(new 
i!= 10i++) 

GetPlayerName(playeridNome24); 
format(stringsizeof(string),"NЄ %i Nome: %s Level: %d"i+1NomeScor[i]); 
SendClientMessage(playerid, -1string); 

return 
1

Reply


Messages In This Thread
[Ajuda]Comandos Invalidos - by guizaofb - 03.03.2012, 21:03
Re: [Ajuda]Comandos Invalidos - by GuiihCamargo - 03.03.2012, 21:20
Re: [Ajuda]Comandos Invalidos - by Đeagle - 03.03.2012, 21:22
Re: [Ajuda]Comandos Invalidos - by GuiihCamargo - 03.03.2012, 21:28
Re: [Ajuda]Comandos Invalidos - by guizaofb - 03.03.2012, 21:37
Re: [Ajuda]Comandos Invalidos - by Đeagle - 03.03.2012, 21:42
Re: [Ajuda]Comandos Invalidos - by Edu_Oliveira - 03.03.2012, 21:54
Re: [Ajuda]Comandos Invalidos - by guizaofb - 03.03.2012, 22:01
Re: [Ajuda]Comandos Invalidos - by Edu_Oliveira - 03.03.2012, 22:04
Re: [Ajuda]Comandos Invalidos - by guizaofb - 03.03.2012, 22:07

Forum Jump:


Users browsing this thread: 1 Guest(s)