SA-MP Forums Archive
[Ajuda] Erro 076 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erro 076 (/showthread.php?tid=401972)



Erro 076 - AndrePls - 24.12.2012

error 076: syntax error in the expression, or invalid function call

Linha:
pawn Код:
arTimer = SetTimer(reparo, 3000, true);
Funзгo:
pawn Код:
forward reparo(playerid);
public reparo(playerid)
{
    RepairVehicle(Veiculo[playerid]);
    return 1;
}



Re: Erro 076 - mau.tito - 24.12.2012

pawn Код:
arTimer = SetTimer("reparo", 3000, true);



Re: Erro 076 - AndrePls - 24.12.2012

Obrigado funcionou certinho =D