Updating YSI includes issue
#5

Other warnings/errors:
Код HTML:
warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
at codes like:
stock PlayAudioStreamForPlayersInCar(vehicleid,url[])
{
    foreach(Player,i)
    {
        if(IsPlayerInAnyVehicle(i))
        {
            if(GetPlayerVehicleID(i) == vehicleid)
            {
                PlayAudioStreamForPlayer(i,url);
            }
        }
    }
    return 1;
}
or
pawno\include\YSI_Data\y_foreach\..\..\YSI_Coding\y_hooks\..\y_cgen\..\..\YSI_Core\y_core\..\..\amx\codescan.inc(212) : warning 219: local variable "sip" shadows a variable at a preceding level

pawno\include\YSI_Data\y_foreach\..\..\YSI_Coding\y_hooks\..\y_cgen\..\..\YSI_Core\y_core\..\..\amx\codescan.inc(266) : warning 219: local variable "sip" shadows a variable at a preceding level
Oh yeah, it seems that 5.x gave less warnings then the default one, but the errors still the sames...
Reply


Messages In This Thread
Updating YSI includes issue - by StRaphael - 15.11.2018, 17:10
Re: Updating YSI includes issue - by StRaphael - 16.11.2018, 11:45
Re: Updating YSI includes issue - by FedeA - 16.11.2018, 13:25
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 17:56
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 18:01
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 18:49
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 18:58
Re: Updating YSI includes issue - by StRaphael - 18.11.2018, 19:14
Re: Updating YSI includes issue - by StRaphael - 19.11.2018, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)