SA-MP Forums Archive
Need Help ! +1 REP !! - 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: Need Help ! +1 REP !! (/showthread.php?tid=347241)



Need Help ! +1 REP !! - Avi57 - 01.06.2012

Guys, How to solve this error :
Код:
C:\Documents and Settings\User\Desktop\savi server\pawno\include\YSI\internal\y_version.inc(193) : warning 219: local variable "code" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Hope you will tell me
Thanks


Re: Need Help ! +1 REP !! - Flake. - 01.06.2012

it means you have used
pawn Код:
new code
somewere else in your code use ctrl +f and search "new code" in your gamemode and remove it


Re: Need Help ! +1 REP !! - Avi57 - 01.06.2012

see carefully its not a GM/FS its Something about YSI


Re: Need Help ! +1 REP !! - Flake. - 01.06.2012

well open include\YSI\internal\y_version.inc then ctrl g and search 193 and remove the line.. same thing the variable has been defined twice


Re: Need Help ! +1 REP !! - Avi57 - 01.06.2012

I dont have YSI in Include


Re: Need Help ! +1 REP !! - MP2 - 01.06.2012

Clearly you do.


Re: Need Help ! +1 REP !! - Skylar Grey - 01.06.2012

Or, if you don't have YSI.inc in the pawno/include folder, download the files. If the error still comes, and you have the YSI, get all the plugins, if possible, not all, just the important ones. If it is a scripting problem, let the Pros handle this. As far as errors come in pawno, some of it is because of missing files


Re: Need Help ! +1 REP !! - MP2 - 01.06.2012

Look at the error:

pawno\include\YSI\internal\y_version.inc(193)

that indicates that y_version.inc IS included in your script. If it wasn't, you wouldn't get this error, would you?


Re: Need Help ! +1 REP !! - Menaz - 01.06.2012

open team viewer i can help you :


Re: Need Help ! +1 REP !! - pasha97 - 01.06.2012

just change variable "code" in this script to another one, because this variable is already uesd in one of includes