21.07.2013, 11:52
Ouch. You are looping through all vehicles when any new vehicle spawns. Why not something 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;
}