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=518151)



Y_Commands problem - Youssef214 - 08.06.2014

Why i get thoses Warnings:

pawn Код:
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(863) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1282) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1337) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1390) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1412) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1475) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1688) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1775) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(1898) : warning 219: local variable "hash" shadows a variable at a preceding level
D:\games\clients\port_2222\pawno\include\YSI\y_commands.inc(2163) : warning 219: local variable "hash" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


10 Warnings.
When i added this command?:

pawn Код:
YCMD:sa(playerid, params[], help)
{
    #pragma unused params, help
    ClearAnimations(playerid);
    return 1;
}



Re: Y_Commands problem - BroZeus - 08.06.2014

seems like u are using multiple versions of YSI at one time
Use only 1 version at a time and the latest one


Re: Y_Commands problem - Youssef214 - 08.06.2014

fixed by myself,i included Dutils without using it in anything so i removed it.