SA-MP Forums Archive
[FilterScript] Vehicle drive-by fix - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Vehicle drive-by fix (/showthread.php?tid=489907)



Vehicle drive-by fix - Emmet_ - 24.01.2014

Vehicle drive-by fix

Introduction
There is a bug known in SA-MP where a player would enter drive-by mode inside a vehicle, and pressing "F" wouldn't put them back inside the vehicle. Sometimes, pressing "H" wouldn't allow them to drive-by anymore. This filterscript fixes that!

How does it work?
This script simply checks if the player tried to exit the vehicle or press "F" to get back in the vehicle during a drive-by. The player is removed from the vehicle and they are placed back inside a few milliseconds later.

Installation
Firstly, you need y_bit from the latest version of YSI:

https://sampforum.blast.hk/showthread.php?tid=321092

After that, download driveby.pwn below, compile the script and place it inside your filterscripts folder. Load the filterscript and you're done!

Screenshots
Entering the vehicle:



Let's do some shooting:



I pressed "F" and now I'm back into the vehicle:



Download
driveby.pwn
driveby.amx


Re: Vehicle drive-by fix - xF4Life - 25.01.2014

nice work


Re: Vehicle drive-by fix - AirKite - 25.01.2014

https://sampforum.blast.hk/showthread.php?tid=407490


Respuesta: Vehicle drive-by fix - AlieN_ - 25.01.2014

Nice fix... :C


Re: Vehicle drive-by fix - JaKe Elite - 25.01.2014

Pretty easy but nice


Re: Vehicle drive-by fix - LMagnifico - 25.01.2014

great


Re: Vehicle drive-by fix - Riddick94 - 05.02.2014

Sure, but it doesn't allow you to drive-by again, once you hide back to the vehicle.


Re: Vehicle drive-by fix - Guest4390857394857 - 05.02.2014

nice


Re: Vehicle drive-by fix - MenDeZz97 - 05.02.2014

Nice


Re: Vehicle drive-by fix - Ryz - 22.11.2014

yea that's epic problem when we press 'h' for drive by but

no option for stopping driveby and get back in car!!!

good work for fixing