Warnings Y_INI please 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: Warnings Y_INI please help (
/showthread.php?tid=367736)
Warnings Y_INI please help -
CaRa - 10.08.2012
I downloaded include by ******, I followed step by step how install YSI\y_ini but i get some error
Код:
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(627) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(647) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(696) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(763) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(783) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(801) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(822) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(853) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(888) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(915) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\pawno\include\YSI\y_ini.inc(947) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\Test\Desktop\My GameMode\SUPER MOD\gamemodes\mode.pwn(746) : error 021: symbol already defined: "FALSE"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
The error is not a problem but i worried about the warnings. I tested on other gamemode and it's seems to working without any warnings,errors.
How i can solve this warnings ... ?
Thanks
Re: Warnings Y_INI please help -
ryansheilds - 10.08.2012
You've probably got a global variable defining file, and a load of local variables defining the same thing, delete the global one (Typically located at the top or the script).
Re: Warnings Y_INI please help -
CaRa - 11.08.2012
That was the problem.
Thanks for helping me to solve the problem +1