[FilterScript] Vehicle drive-by fix
#1

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
Reply
#2

nice work
Reply
#3

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

Nice fix... :C
Reply
#5

Pretty easy but nice
Reply
#6

great
Reply
#7

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

nice
Reply
#9

Nice
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)