SA-MP Forums Archive
y_commands warnings +REP - 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 warnings +REP (/showthread.php?tid=331858)



y_commands warnings +REP - Tomer!.$ - 06.04.2012

Just added the includes:
#include <YSI\y_commands>
#include <YSI\y_master>

Got this warning:
PHP код:
C:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(904) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1404) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1459) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1512) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1534) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1597) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1825) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(1929) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(2070) : warning 219local variable "hash" shadows a variable at a preceding level
C
:\Documents and Settings\user\щемзп дтбегд\Server\pawno\include\YSI\y_commands.inc(2364) : warning 219local variable "hash" shadows a variable at a preceding level 



Re: y_commands warnings +REP - .FuneraL. - 06.04.2012

The symbol "hash" is already defined somewhere in the mode / include, rename it to something else eg "hash2"


Re: y_commands warnings +REP - Tomer!.$ - 06.04.2012

How can I rename it to hash2? It'll take a year to Ctrl+F Hash and add 2.
How can I find the other include where hash is already defined?


Re: y_commands warnings +REP - MadeMan - 06.04.2012

Show the hash functions. Maybe you can remove one of them.


Re: y_commands warnings +REP - .FuneraL. - 06.04.2012

Quote:
Originally Posted by Tomer!.$
Посмотреть сообщение
How can I rename it to hash2? It'll take a year to Ctrl+F Hash and add 2.
How can I find the other include where hash is already defined?
Yes. Search the "hash" and Rename.


Re: y_commands warnings +REP - Faisal_khan - 06.04.2012

Rename the hash to hash2 by using the rename option.


Re: y_commands warnings +REP - Tomer!.$ - 06.04.2012

Tried to edit it but it didn't work, got some new problems.. can anyone who had this problem and edited the hash to hash2 give me his y_commands include? Will +REP


Re: y_commands warnings +REP - Faisal_khan - 06.04.2012

On the Bottom of this page there are some suggestion threads try reading them.


Re: y_commands warnings +REP - Tomer!.$ - 06.04.2012

Couldn't find any..
Can anyone who had this problem and edited the hash to hash2 give me his y_commands include? Will +REP


Re: y_commands warnings +REP - Tomer!.$ - 06.04.2012

Help?