Function should return a value
#1

pawn Код:
stock IsFBIVehicles(playerid)
{
    for(new i=9; i<sizeof(fbicar); i++)
    if(GetPlayerVehicleID(playerid) == fbicar[i])
    return 1;
}
Compiling fails with "warning 209: function "IsFBIVehicles" should return a value" I dont see whats wrong D:
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)