26.07.2009, 17:12
does anyone know all vehicleid's of the vehicles witch can't enter the pay'n spray?
thanks.
thanks.
Originally Posted by Criss_Angel
goto WIKI and see or just use Script King, you have to learn to do things yourself. You can't just keep asking others thinking they will waste there time.
|
Originally Posted by Criss_Angel
goto WIKI and see or just use Script King, you have to learn to do things yourself. You can't just keep asking others thinking they will waste there time.
|
Originally Posted by Don Correlli
Quote:
Everyone needs help sometimes if they can't find something. |
stock IsValidPayNSprayVehicle(vehicleid)
{
new InvalidVehicles[13] =
{
407, //firetruck
416, //ambulance
427, //enforcer
432, //rhino
433, //barracks
490, //fbi rancher
528, //fbi truck
532, //hpv1000
596, //police car lspd
597, //police car sfpd
598, //police car lvpd
599, //police ranger
601 //s.w.a.t. car
};
for(new i=0; i<13; i++)
{
if(GetVehicleModel(vehicleid) == InvalidVehicles[i])
{
return 0;
}
}
return 1;
}
Originally Posted by °ғαιιοцт°
ok.. so I tested every special car...
here is a function: you might need to use it one day pawn Код:
|
Originally Posted by [B2K
Hustler ]
Nice, you should post that function in the Useful Functions topic, but before u do that, you should add all the bicylesas well, because they also can't be pay'n'sprayed as i pointed out earlier. |