SA-MP Forums Archive
Error. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error. (/showthread.php?tid=233771)



Error. - iGetty - 02.03.2011

Код:
error 017: undefined symbol "Cost"
How could I stop that?


Respuesta: Error. - Code8976Man - 02.03.2011

new Cost; (?)


Re: Respuesta: Error. - iGetty - 02.03.2011

Quote:
Originally Posted by Code8976Man
Посмотреть сообщение
new Cost; (?)
At the top of my script?


Respuesta: Error. - Code8976Man - 02.03.2011

Well, it depends. If is a global var yes.


Re: Respuesta: Error. - iGetty - 02.03.2011

Quote:
Originally Posted by Code8976Man
Посмотреть сообщение
Well, it depends. If is a global var yes.
I tried it, I get more errors, is there a way I can stop it doing this?

like

#pragma?


Respuesta: Error. - Code8976Man - 02.03.2011

Need more info about errors or code.


Re: Respuesta: Error. - iGetty - 02.03.2011

Quote:
Originally Posted by Code8976Man
Посмотреть сообщение
Need more info about errors or code.
S'alright, sorted now.

Thanks.