21.07.2014, 21:56
Olб, fiz um comando para mostrar o status do player, porйm estб apresentando os seguintes erros que eu nao consegui corrigir.
Cуdigo
Agradeзo б quem me ajudar!
pawn Код:
pwn(1222) : error 028: invalid subscript (not an array or too many subscripts): "pScore"
pwn(1222) : warning 215: expression has no effect
pwn(1222) : error 001: expected token: ";", but found "]"
pwn(1222) : error 029: invalid expression, assumed zero
pwn(1222) : fatal error 107: too many error messages on one line
4 Errors.
pawn Код:
command(status, playerid, params[])
{
new str2[90];
format(str2,sizeof(str2),"\nNick - %s\nDinheiro - %d\nScore - %d\nPoints - %d\nSkin - %d\nData - %d/%d/%d\nHora - %02d:%02d", Nome(playerid), GetPlayerMoney(playerid),pScore[playerid],pPoints[playerid], pSkin[playerid], i_ServerDays, i_ServerMonths, i_ServerYears, i_ServerHours, i_ServerMinutes);
ShowPlayerDialog(playerid, DIALOG_STATUS, DIALOG_STYLE_MSGBOX, "{32CD32}»{FFFFFF} Suas Informaзхes", str2,"Fechar"," ");
return 1;
}