SA-MP Forums Archive
SetVehicleParamsEx - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetVehicleParamsEx (/showthread.php?tid=405481)



SetVehicleParamsEx - AphexCCFC - 06.01.2013

Where do I add this so it effects all vehicles when the servers first starts?

pawn Код:
SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);



Re: SetVehicleParamsEx - JM_Millers - 06.01.2013

Use:
PHP код:
public OnGameModeInit()
{
ManualVehicleEngineAndLights();
} 



Re: SetVehicleParamsEx - AphexCCFC - 06.01.2013

It works for all static vehicles that are added to the actual script but not for the dynamic ones that are spawned and saved for families and gangs or when I spawn or buy a vehicle, any idea on how to fix this? The engine automatically stays running.