25.08.2012, 07:17
Oh you mean that they auto-respawn when created? If I get it right, then you should add a custom stock function like this:
And from now on you should use My_CreateVehicle, instead of the CreateVehicle.
pawn Код:
stock My_CreateVehicle(modelid, Float: x, Float: y, Float: z, Float: a, color1, color2, respawn_time)
{
new vehicleid = CreateVehicle(modelid, x, y, z, a, color1, color2, respawn_time);
// You can add your things here...
// ex.: vehicleEngine[vehicleid] = false;
SetVehicleToRespawn(vehicleid);
return vehicleid;
}