[AJUDA] Erro ao copilar
#1

Galera estou fazendo um GM Drift RP e quando fui copilar deu um erro e nгo consigo conserta-lo.

Erro:

Quote:

D:\Carlos\sv\gamemodes\driftRP.pwn(1301) : error 012: invalid function call, not a valid address
D:\Carlos\sv\gamemodes\driftRP.pwn(1301) : warning 215: expression has no effect
D:\Carlos\sv\gamemodes\driftRP.pwn(1301) : error 001: expected token: ";", but found ")"
D:\Carlos\sv\gamemodes\driftRP.pwn(1301) : error 029: invalid expression, assumed zero
D:\Carlos\sv\gamemodes\driftRP.pwn(1301) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Linha 1301:
Quote:

if(!IsNumeric(inputtext))

Reply
#2

Por favor poste algumas linhas acima e algumas abaixo da linha referente ao erro
Reply
#3

Aqui esta o resto do codigo :
Quote:

case 5:
{
if(response != 0)
{
if(!IsNumeric(inputtext))
return ShowPlayerDialog(playerid, 5, 1, "Create a Pickup", "Enter a model number to use for this pickup. (wiki.sa-mp.com)", "Enter", "Cancel");
dini_IntSet(PlayerInfo[playerid][PickupRef], "Model", strval(inputtext));
dini_IntSet(PlayerInfo[playerid][PickupRef], "Used", 1);
ShowPlayerDialog(playerid, 6, 0, "Create a Pickup", "Your current location will be used to create this pickup.\r\nYou can edit it later.", "Enter", "Cancel");
}
else
ShowPlayerDialog(playerid, 5, 1, "Create a Pickup", "Enter a model number to use for this pickup. (wiki.sa-mp.com)", "Enter", "Cancel");
}

Reply
#4

@edit
Vish agora eu li melhor ta foda isso ae vo dar mais uma olhada e vejo se arrumo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)