Engines - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Engines (
/showthread.php?tid=73547)
Engines -
D101h - 16.04.2009
Is it possible to realy turn off cars engines(like when you fall in the water), and not freeze the driver? If similar post exists post the link.
Re: Engines -
Redirect Left - 16.04.2009
You cannot "turn off the engine" but you can TogglePlayerControllable which will freeze them. This will however prevent then hitting enter to exit the car, you'll need to use RemovePlayerFromVehicle to then remove them from it. (Perhaps type /leavecar, to leave a frozen car)
Also, you cannot natively detect if the player has hit water.
Re: Engines -
D101h - 16.04.2009
Would be possible then to "soak" the engine somehow?
Re: Engines -
Redirect Left - 16.04.2009
The engine cannot be stopped at all, you have to freeze the player to give the effect it's not going to move anywhere.