Warnings Y_INI please help
#1

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
Reply
#2

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).
Reply
#3

That was the problem.

Thanks for helping me to solve the problem +1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)