array must be indexed
#6

pawn Код:
new invalidvehs[] =
{
   441, 464, 465, 481, 501, 509, 510, 564, 572, 594
};

public IsVehicleValid(vehicleid)
{
   new k = sizeof(invalidvehs);
   for(new i;i<k;i++)
     if(GetVehicleModel(vehicleid) == invalidvehs[i]) return false; // Line 93
   return true;
}
Reply


Messages In This Thread
array must be indexed - by •Ajax• - 14.11.2009, 00:01
Re: array must be indexed - by Hiitch - 14.11.2009, 00:02
Re: array must be indexed - by •Ajax• - 14.11.2009, 00:04
Re: array must be indexed - by Hiitch - 14.11.2009, 00:09
Re: array must be indexed - by •Ajax• - 14.11.2009, 00:18
Re: array must be indexed - by CracK - 14.11.2009, 00:47
Re: array must be indexed - by yom - 14.11.2009, 00:52

Forum Jump:


Users browsing this thread: 1 Guest(s)