Function should return a value
#3

You need to create a return value if IsFBIVehicles is not true.

pawn Код:
stock IsFBIVehicles(playerid)
{
    for(new i=9; i<sizeof(fbicar); i++)
        if(GetPlayerVehicleID(playerid) == fbicar[i])
           return 1;
        else
           return 0;
}
Reply


Messages In This Thread
Function should return a value - by McCarthy - 18.09.2011, 09:51
Re: Function should return a value - by |_ⒾⓇⓄN_ⒹⓄG_| - 18.09.2011, 09:56
Re: Function should return a value - by Cyanide - 18.09.2011, 09:57
AW: Re: Function should return a value - by Nero_3D - 18.09.2011, 10:36
Re: Function should return a value - by McCarthy - 18.09.2011, 10:44
Re: Function should return a value - by Kush - 18.09.2011, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)