SA-MP Forums Archive
[Ajuda] error 001: expected token: ";", but found "new" - 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] error 001: expected token: ";", but found "new" (/showthread.php?tid=366047)



error 001: expected token: ";", but found "new" - Shum493 - 05.08.2012

O tнtulo do tуpico diz tudo. Deve ser um erro simples, mas nгo consigo decifrar '-' Usei o search sim senhores, antes que me digam.
Linha do Erro:
pawn Код:
new NameTimer();



Re: error 001: expected token: ";", but found "new" - OpeN. - 05.08.2012

pawn Код:
new NameTimer;



Re: error 001: expected token: ";", but found "new" - Shum493 - 05.08.2012

Mesma coisa


Re: error 001: expected token: ";", but found "new" - Maklister - 05.08.2012

olhe na linha de cima pra ver se tem no final ;


Re: error 001: expected token: ";", but found "new" - dost2514 - 14.02.2013

poderia me ajuda to tentando compilar e da isso ai




D:\gta crinado\PlayHappy\PlayHappy\pawno\include\F_Stream er.inc(3 : warning 201: redefinition of constant/macro (symbol "F_MAX_OBJECTS")
C:\Documents and Settings\Bruno\Desktop\teste.pwn(442 : error 017: undefined symbol "LSR_PlayerConnect"
C:\Documents and Settings\Bruno\Desktop\teste.pwn(8552) : error 010: invalid function or declaration
C:\Documents and Settings\Bruno\Desktop\teste.pwn(8552) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bruno\Desktop\teste.pwn(8554) : error 010: invalid function or declaration
C:\Documents and Settings\Bruno\Desktop\teste.pwn(10323) : error 017: undefined symbol "car"
C:\Documents and Settings\Bruno\Desktop\teste.pwn(10431) : error 025: function heading differs from prototype
C:\Documents and Settings\Bruno\Desktop\teste.pwn(10432) : error 021: symbol already defined: "GetPlayerSpeed"
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18794) : error 025: function heading differs from prototype
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18801) : error 001: expected token: "-identifier-", but found "["
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18804) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18804) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18839) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18839) : warning 215: expression has no effect
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18839) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18839) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bruno\Desktop\teste.pwn(18839) : fatal error 107: too many error messages on one line

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


Respuesta: error 001: expected token: ";", but found "new" - mundodosampp - 30.12.2013

VERIFIQUE SE A LINHA A CIMA TEM[ , OU ;


Re: Respuesta: error 001: expected token: ";", but found "new" - Gii - 30.12.2013

Quote:
Originally Posted by mundodosampp
Посмотреть сообщение
VERIFIQUE SE A LINHA A CIMA TEM[ , OU ;
I can not believe you did that!


Re: error 001: expected token: ";", but found "new" - mundodosampp - 30.12.2013

Quote:

I can not believe you did that!

I did this and it worked in my gamemode!


Re: error 001: expected token: ";", but found "new" - Gii - 30.12.2013

Quote:
Originally Posted by mundodosampp
Посмотреть сообщение
I did this and it worked in my gamemode!

Sempre quis entender como vocкs escavadores encontram estas raridades.


Re: error 001: expected token: ";", but found "new" - mundodosampp - 30.12.2013

Quote:

Sempre quis entender como vocкs escavadores encontram estas raridades.

e a vida kk ! programando e aprendendo!