SA-MP Forums Archive
Warning y_scripting.inc - 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: Warning y_scripting.inc (/showthread.php?tid=195930)



Warning y_scripting.inc - Osviux - 04.12.2010

Code:
C:\Users\Labas\Desktop\MPG\pawno\include\YSI\y_scripting.inc(399) : warning 219: local variable "base" shadows a variable at a preceding level
How to fix this?


Re: Warning y_scripting.inc - dice7 - 04.12.2010

You already have a variable named 'base' in your script. If you don't then post this error in the topic you got the script


Re: Warning y_scripting.inc - Osviux - 04.12.2010

No, i am not using it.


Re: Warning y_scripting.inc - dice7 - 04.12.2010

So you wrote this by yourself ?
\YSI\y_scripting.inc(399)


Re: Warning y_scripting.inc - Osviux - 04.12.2010

No. I have donwloaded it from http://forum.sa-mp.com/showthread.ph...=OnPlayerPause The paused.inc needed the YSI includes.