12.04.2012, 17:08
Eu criei um comando /satatus, mais quando eu entro no server e digito /status o server reinicia, e estб danod uma warning, e nгo consigo resolver. help-me please!
Code:
Warning:
Code:
pawn Код:
CMD:status(playerid,params[])
{
new string[256],name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"Nick: %s\nScore: %d\nDinheiro: %d\nMatou: %d\nMorreu: %d\n",name,GetPlayerScore(playerid),GetPlayerMoney(playerid),Matou[playerid],Morreu[playerid]);
ShowPlayerDialog(playerid, 33, DIALOG_STYLE_MSGBOX,"{FFFFFF}Player Status:", string, "Fechar"); // Linha 343
return 1;
}
pawn Код:
C:\Documents and Settings\Lucas\Desktop\SAMP\gamemodes\GM.pwn(343) : warning 202: number of arguments does not match definition