SA-MP Forums Archive
Fue problem! - 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: Fue problem! (/showthread.php?tid=375157)



Fuel problem! - Akcent_Voltaj - 05.09.2012

Fuel problem ..the fuel works good but the vehicle doesent stop at fuel: 0.. what cmd,function you need tell me!


Re: Fue problem! - XtremeR - 05.09.2012

TogglePlayerControllable(i, 0); where the fuel is 0

or

SetVehicleVelocity(vehicleid, 0.0, 0.0, 0.0); same at the fuel thing

+rep if that helps


Re: Fue problem! - Akcent_Voltaj - 05.09.2012

but then i do /exit and start engine..


Re: Fue problem! - XtremeR - 05.09.2012

i edited my post above and if u want the car engine this do it like

pawn Код:
TogglePlayerControllable(playerid, 1); //at the engine start..