18.10.2011, 03:06
Alguйm por favor, poderia me ajudar com estes erros ? estou ficando louco jб husahusauh.
linhas dos erros.
Funзгo Inteira dos Erros.
Dou REP+ Em Qualquer 1 que me ajudar ou pelomenos tentar.
Код:
C:\Documents and Settings\Administrador\Desktop\GM BSG\gamemodes\PFRP.pwn(5192) : error 001: expected token: "-identifier-", but found "=" C:\Documents and Settings\Administrador\Desktop\GM BSG\gamemodes\PFRP.pwn(5193) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrador\Desktop\GM BSG\gamemodes\PFRP.pwn(5193) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrador\Desktop\GM BSG\gamemodes\PFRP.pwn(5193) : warning 215: expression has no effect C:\Documents and Settings\Administrador\Desktop\GM BSG\gamemodes\PFRP.pwn(5193) : error 001: expected token: ";", but found ")" C:\Documents and Settings\Administrador\Desktop\GM BSG\gamemodes\PFRP.pwn(5193) : fatal error 107: too many error messages on one line
pawn Код:
new quantidade = strval(inputtext);
if(quantidade < 1 || quantidade > 10000)
pawn Код:
if(dialogid == 2583)
{
if(!response) { return ShowPlayerDialog(playerid, 2582, DIALOG_STYLE_LIST, "Mafia Menu", "Equipar\nPegar Materiais\nEsconder Materiais", "Confirma", "Cancela"); }
else if(!IsNumero(inputtext))
{
ShowPlayerDialog(playerid,2583,DIALOG_STYLE_INPUT,"Pegar Safe Materiais","Digite a quantia de safe materiais que deseja pegar","Pegar","Voltar");
MSGPLAYER(playerid,COLOR_GREY,"Porfavor,use nъmeros !");
return 1;
}
new quantidade = strval(inputtext);
if(quantidade < 1 || quantidade > 10000)
{
MSGPLAYER(playerid, COLOR_GRAD2, "nгo pode pegar menos de 1 e nem mais de 10000");
return 1;
}
if(PlayerInfo[playerid][psMats] >= quantidade)
{
PlayerInfo[playerid][pMats] = PlayerInfo[playerid][pMats]+quantidade;
PlayerInfo[playerid][psMats] = PlayerInfo[playerid][psMats]-quantidade;
format(gstring, sizeof(gstring), "* Vocк pegou %d materiais no esconderijo!",quantidade);
MSGPLAYER(playerid, COLOR_LIGHTBLUE, gstring);
return 1;
}
else
{
MSGPLAYER(playerid, COLOR_GREY, "Vocк nгo tem tudo isso!");
return 1;
}
}