SA-MP Forums Archive
y_commands problem - 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: y_commands problem (/showthread.php?tid=270191)



y_commands problem - RTV - 19.07.2011

When i put y_commands and y_master in my GM i got this warnings :
Код:
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(793) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1191) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1243) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1264) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1326) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1519) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1600) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1706) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Users\PC\Documents\SA-MP server\Need For Speed San Andreas\pawno\include\YSI\y_commands.inc(1955) : warning 219: local variable "hash" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Warnings.
Part of warnings:
Код:
793:hash = Command_PackHash(Command_Name(i));
1191:hash = -1,
Can somebody please help? :S
PS:i already have y_ini,followed this tutorial: https://sampforum.blast.hk/showthread.php?tid=269361


Re: y_commands problem - Mean - 19.07.2011

Oh well, I get the same.

Go to the include, and replace all the "hash"-es with "hash2". That should fix it.


Re: y_commands problem - RTV - 19.07.2011

hm,i f*cked up something,now i got errors xD if you fixed it,can u send it to me? thanks


Re: y_commands problem - Frede - 14.12.2012

I have the same problem, but even if i move the lines it says it is these lines but what ever it doesnt cause any problems for me


Re: y_commands problem - Frede - 14.12.2012

ok ty