Can not drive train - 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: Can not drive train (
/showthread.php?tid=655843)
Can not drive train -
3417512908 - 01.07.2018
Код:
damn = AddStaticVehicle (538,1720.2875,-1958.0020,13.5391,269.7924,1,1);
damn2 = AddStaticVehicle (570,1720.2875,-1958.0020,13.5391,269.7924,1,1);
AttachTrailerToVehicle(damn2,damn);
I put them to public OnGameModeInit()
It`s added train.But I can not drive it.I press "W" again and again...Speed always keep 0 km/h
Re: Can not drive train -
CaptainBoi - 01.07.2018
remove damn and damn2 and try it directly
Re: Can not drive train -
Zeth - 01.07.2018
Do you have
ManualVehicleEngineAndLights() under OnGamemodeInit? If it's then, you need to switch the engine on using
SetVehicleParamsEx