SA-MP Forums Archive
auto brake - 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: auto brake (/showthread.php?tid=399076)



auto brake - Roka_Kuroki - 12.12.2012

Can I get rid of the car when braking road a bit in the water and I go on it?


Re: auto brake - Mike_Peterson - 12.12.2012

Roka_Kuroki, I want to help you but I don't know what you are meaning by this post.
Could you use ****** Translate instead? It might be more detailed then.


Re: auto brake - Roka_Kuroki - 12.12.2012

Yes, I use here on the screen can be seen when the water goes the car slows as izbavaitsya from slowing down




Re: auto brake - Roka_Kuroki - 12.12.2012

Quote:
Originally Posted by Mike_Peterson
Посмотреть сообщение
Roka_Kuroki, I want to help you but I don't know what you are meaning by this post.
Could you use ****** Translate instead? It might be more detailed then.
help make the machine is not slowed


Re: auto brake - Mike_Peterson - 12.12.2012

So.. as far as I understood, he wants to disable slowing down from driving through water.. Unless theres some script to detect whether the car is in contact with water and then giving it a boost, this is not possible. as it's probably hardcoded in GTA SA. So the best thing you can do is put the objects higher above the water.. only like 0.5/1 meter higher


Re: auto brake - Roka_Kuroki - 12.12.2012

Quote:
Originally Posted by Mike_Peterson
Посмотреть сообщение
Roka_Kuroki, I want to help you but I don't know what you are meaning by this post.
Could you use ****** Translate instead? It might be more detailed then.
Quote:
Originally Posted by Mike_Peterson
Посмотреть сообщение
So.. as far as I understood, he wants to disable slowing down from driving through water.. Unless theres some script to detect whether the car is in contact with water and then giving it a boost, this is not possible. as it's probably hardcoded in GTA SA. So the best thing you can do is put the objects higher above the water.. only like 0.5/1 meter higher
more screen




Re: auto brake - maramizo - 12.12.2012

Oh so you want the vehicle to move hover over the water?


Re: auto brake - Roka_Kuroki - 13.12.2012

something like that


Re: auto brake - Roka_Kuroki - 14.12.2012

here ?


Re: auto brake - RajatPawar - 14.12.2012

I think someone made a *IsPlayerInWater* or *IsVehicleInWater* function, search for it, then SetVehicleVelocity...