PDA

View Full Version : y_commands warnings +REP


Tomer!.$
06/04/2012, 11:21 AM
Just added the includes:
#include <YSI\y_commands>
#include <YSI\y_master>

Got this warning:
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(904 ) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(140 4) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(145 9) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(151 2) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(153 4) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(159 7) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(182 5) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(192 9) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(207 0) : warning 219: local variable "hash" shadows a variable at a preceding level
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(236 4) : warning 219: local variable "hash" shadows a variable at a preceding level

.FuneraL.
06/04/2012, 12:09 PM
The symbol "hash" is already defined somewhere in the mode / include, rename it to something else eg "hash2"

Tomer!.$
06/04/2012, 12:19 PM
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?

MadeMan
06/04/2012, 12:41 PM
Show the hash functions. Maybe you can remove one of them.

.FuneraL.
06/04/2012, 12:43 PM
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.

Faisal_khan
06/04/2012, 12:49 PM
Rename the hash to hash2 by using the rename option.

Tomer!.$
06/04/2012, 01:27 PM
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

Faisal_khan
06/04/2012, 01:30 PM
On the Bottom of this page there are some suggestion threads try reading them.

Tomer!.$
06/04/2012, 01:46 PM
Couldn't find any..
Can anyone who had this problem and edited the hash to hash2 give me his y_commands include? Will +REP

Tomer!.$
06/04/2012, 02:08 PM
Help?

MadeMan
06/04/2012, 02:13 PM
Put the '#include <YSI\y_commands>' line before other includes. Then you should see where the other 'hash' is defined.

Tomer!.$
06/04/2012, 02:16 PM
Still shows me:
C:\Documents and Settings\user\שולחן העבודה\Server\pawno\include\YSI\y_commands.inc(904 ) : warning 219: local variable "hash" shadows a variable at a preceding level
I can't find where hash is also defined..

There are all of my includes:
#include <YSI\y_commands>
#include <YSI\y_master>
#include <a_samp>
#include <OPSP>
#include <Colors>
#include <dini>
#include <dutils>

MadeMan
06/04/2012, 02:22 PM
Did you search the script and other includes?

Tomer!.$
06/04/2012, 02:26 PM
Actually it's finally works, found hash in dutils include.
+rep'd

Marco_Valentine
07/04/2012, 10:55 AM
Ctrl+H :find, Hash. :Replace Hash2