SA-MP Forums Archive
Badger's Anti-Drive by: Passenger/Driver/Both - 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: Badger's Anti-Drive by: Passenger/Driver/Both (/showthread.php?tid=102850)



Badger's Anti-Drive by: Passenger/Driver/Both - Badger(new) - 17.10.2009

Introduction
I feel that this script is outdated and I will begin work on a newer, faster script that does not suffer from slight lag issues.
It suffers from slight lag, as players are still able to shoot for less than a second, which does take off quite some health.
This is due to the way it deals with drivers drive-bying, which requires quite a lot of processing from SAMP, compared to other methods which I can use.

These Anti-drive-by scripts use what keys you press to stop players from performing drive by (shooting while in/on a vehicle), which is more accurate than other systems as it is bug-free.

There are 3 scripts: All of them are 100% bug-free as I have tested them myself with other players.

Bug Testing

Just if you want to ask, here are some bugs I have tested:
Additional
Some terms I may of used: Updated
I was told that the previous script meant you couldn't do bunny hops on a bmx/mountain bike/bicycle.
I have fixed this in the new verisons (updated the links).


Re: Badger's Anti-Driver-Drive-By - UsaBoy91 - 17.10.2009

good job


Re: Badger's Anti-Driver-Drive-By - Badger(new) - 18.10.2009

Thank you. Tell me if there are any problems.


Re: Badger's Anti-Driver-Drive-By - Badger(new) - 18.10.2009

The quadbikes are working too, just I had to make it so you have time to activate nos and release the button without being thrown off the bike.

Yes I am sure, I've tested it it nearly every way possbile.
E.G.
Nos in a car- Works fine
Just looked left/right- Works fine
Clicking in any other vehicle except a bike- Works fine
Using nos on a quad- Works fine

What do you mean by checking the scoreboard?


Re: Badger's Anti-Driver-Drive-By - Badger(new) - 18.10.2009

Oh Sorry for the misunderstanding. I tested that in-game; tab didn't fire the weapon and didn't cause myself to be removed from the vehicle.


Re: Badger's Anti-Driver-Drive-By - nuriel6633 - 18.10.2009

GREAT JOB!!!


Re: Badger's Anti-Driver-Drive-By - Badger(new) - 18.10.2009

Thanks .


Re: Badger's Anti-Driver-Drive-By - Badger(new) - 15.11.2009

Added another line to testing.

If anyone wants a passenger version of this, just ask.


Re: Badger's Anti-Drive by: Passenger/Driver/Both - Badger(new) - 19.12.2009

***Sorry for triple post

UPDATED

I have added 2 new scripts:

Anti-Drive-By: Includes Anti-Passenger and Anti-Driver

Anti-Passenger-Drive-By

I have added better sync for player removal from the vehicle, as before the player may seem to carry on firing then jump to off the vehicle.


Re: Badger's Anti-Drive by: Passenger/Driver/Both - panther74 - 21.12.2009

Thanks you