21.07.2013, 11:53
Quote:
I now have this but it doesnt work:
pawn Код:
|
1st car spawns turn off its engine
2nd car spawns turn off its engine and the 1st cars engine.
3rd car spawns turn off its engine and the 2nd and 1st car engine.
Why dont you set the parameters like:
pawn Код:
public OnVehicleSpawn(vehicleid)
{
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, 0,lights,alarm,doors,bonnet,boot,objective);
return 1;
}