03.03.2012, 21:03
(
Последний раз редактировалось guizaofb; 03.03.2012 в 22:05.
)
Olб Galera, to com um probleminha aqui... Tipo eu digito o comando certo (/rank) e no serve aparece como se estivesse errado -.-' (Este Comando nгo Existe).
jб tentei outros comandos e alguns da o mesmo problema, os ъnicos que estгo funcionando й de um FS de ADM e o comando /handsup
ME AJUDEM PF !!!
pawn Код:
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 Код:
if(!strcmp(cmd, "/handsup", true))
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}