SA-MP Forums Archive
Compile Error Help - 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)
+--- Thread: Compile Error Help (/showthread.php?tid=403209)



Compile Error Help - xDanger - 29.12.2012

Hello,
I'm getting this error when i compile a gamemode:

C:\Users\ToXic\Desktop\pawno\larp.pwn(4873) : warning 204: symbol is assigned a value that is never used: "otherfile"
C:\Users\ToXic\Desktop\pawno\larp.pwn(2754 : warning 219: local variable "idcar" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.


Re: Compile Error Help - bensmart469 - 29.12.2012

Post the code


Re: Compile Error Help - FTLOG - 29.12.2012

These are not errors, these are just warnings.

Delete the variable 'otherfile'. (Where it says something like 'new otherfile;')
And the second warning means that you have 2 instances of the same variable. So you also delete one of the 'new idcar' instances.


Re : Compile Error Help - DaRk_RaiN - 29.12.2012

First of all those are not errors.
search for this define and remove it
pawn Код:
new otherfile//something like this
For the second warning you double made the variable, remove the one in global.


Re: Compile Error Help - xDanger - 29.12.2012

I've searched new otherfile
And nothing been found.


Re: Compile Error Help - [HK]Ryder[AN] - 29.12.2012

Show the lines where warning is coming.