23.12.2013, 06:45
Does someone know about a_westie? I think it defines IsVehicleAirVehicle and i can't fine that include. Please if any one knows how to define it, post it here or if someone has the include's link, please post it too.
new AirVehicleIDS[21][] = {
{"417"},{"425"},{"447"},{"460"},{"469"},{"476"},
{"487"},{"488"},{"497"},{"511"},{"512"},{"513"},
{"519"},{"520"},{"548"},{"553"},{"563"},{"577"},
{"592"},{"593"}};
stock IsVehicleAirVehicle(ID)
{
for(new i=0; i < sizeof(AirVehicleIDS); i++)
{
if(strval(AirVehicleIDS[i]) == ID) return 1;
}
return 0;
}
pawn Код:
returns 1 if the vehicle ID is a air type vehicle and returns 0 if its not |
stock IsVehicleAirVehicle(vehicleid)
{
switch (GetVehicleModel(vehicleid))
{
case 417, 425, 447, 460, 469, 476, 487, 488, 497, 511 .. 513, 519, 520, 548, 553, 563, 577, 592, 593: return 1;
}
return 0;
}
C:\Users\ADDL\Desktop\Samp\pawno\include\sscanf2.inc(69) : warning 235: public function lacks forward declaration (symbol "OnNPCModeInit") C:\Users\ADDL\Desktop\Samp\pawno\include\cnpc.inc(1) : error 010: invalid function or declaration C:\Users\ADDL\Desktop\Samp\pawno\include\cnpc.inc(174) : error 010: invalid function or declaration
#define COLOUR_YELLOW 0xFFFF2AFF