SA-MP Forums Archive
Y_command Problems - 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: Y_command Problems (/showthread.php?tid=243983)



Y_command Problems - [NRP]Blade - 25.03.2011

Well i have recently downloaded the latest YSI library, as i'm converting to y_command. But whenever i compile i don't get errors about the script but with the include. As i had a friend who edited dubd and fixed them but i lost the file.
here are the errors
Код:
warning 219: local variable "hash" shadows a variable at a preceding level
That 9 times. I'm sorry if this is a bit n00bish i'm just not familiarly with y_command. So please just help.
Thanks in advance.


Re: Y_command Problems - AK47317 - 25.03.2011

show us ur code..


Re: Y_command Problems - austin070 - 25.03.2011

That warning just means that the variable "hash" is defined twice. There might be 2 somewhere in the YSI library or one in the YSI library and 1 in your script. Which file is the warning coming from?