YSI/y_ini Problems
#1

Код:
C:\Users\Gamer\Desktop\pawno\include\YSI\y_utils.inc(343) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_utils.inc(497) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_utils.inc(540) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_utils.inc(558) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_malloc.inc(216) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_hooks/impl.inc(225) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_hooks/impl.inc(878) : warning 219: local variable "text" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_inline.inc(260) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_inline.inc(678) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(837) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(957) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1030) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1051) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1070) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1092) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1124) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1160) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1188) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\pawno\include\YSI\y_ini.inc(1344) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\test.pwn(22) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\test.pwn(33) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\test.pwn(46) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(48) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(56) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\test.pwn(64) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Gamer\Desktop\test.pwn(66) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\test.pwn(66) : error 025: function heading differs from prototype
C:\Users\Gamer\Desktop\test.pwn(66) : error 021: symbol already defined: "strreplace"
C:\Users\Gamer\Desktop\test.pwn(68) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(72) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Gamer\Desktop\test.pwn(81) : error 017: undefined symbol "COLOR_PURPLE"
C:\Users\Gamer\Desktop\test.pwn(85) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(88) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(91) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(94) : error 021: symbol already defined: "ProxDetector"
C:\Users\Gamer\Desktop\test.pwn(97) : error 021: symbol already defined: "format"
C:\Users\Gamer\Desktop\test.pwn(99) : error 010: invalid function or declaration
C:\Users\Gamer\Desktop\test.pwn(99) : error 021: symbol already defined: "ProxDetector"
C:\Users\Gamer\Desktop\test.pwn(103) : error 001: expected token: "-identifier-", but found ","
C:\Users\Gamer\Desktop\test.pwn(104) : error 017: undefined symbol "action"
C:\Users\Gamer\Desktop\test.pwn(111) : error 017: undefined symbol "string"
C:\Users\Gamer\Desktop\test.pwn(111) : error 017: undefined symbol "string"
C:\Users\Gamer\Desktop\test.pwn(111) : error 029: invalid expression, assumed zero
C:\Users\Gamer\Desktop\test.pwn(111) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


20 Errors.
I downloaded the latest YSI includes and when I compile this is what it gives me...
Please help
Reply
#2

Yes how do we sort this problem out since i have that problem to why is there errors he obviously has follown a good tutorial!
Reply
#3

Well for the shadowing variables it's quite obvious:

your variables are shadowing other ones, in simple you've already made that variable.
Reply
#4

Yes but the problem is in y_utils.inc . There shouldn't be problems in there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)