Badger's Anti-Drive by: Passenger/Driver/Both
#1

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:
  • Adding Nos to a vehicle: Does not detect you as committing drive-by
  • Adding Nos to a quad bike: Gives you 0.6 seconds to activate it
  • Clicking when not driving bikes: You can click in any vehicle that isn't a bike
  • Vehicles moving after you're ejected: If you were the driver, the vehicle gets set to your position so it won't carry on
  • Pressing CAPS LOCK as passenger, then getting off, back on and clicking: Does not report you committing drive-by
  • Performing Drive-by without a: SMG, Tec-9 or Uzi: Does not report you for drive-by
  • Performing passenger Drive-by inside a plane with PDB enabled: Stops you from committing drive-by
  • Driver not realising the passenger has been ejected: A 5-second text draw is displayed at the top of the screen.
  • Pressing tab to see the score: You can check the scoreboard (Tab) without being thrown off
  • Looking left/right: You can without being ejected.
Additional
Some terms I may of used:
  • PDB: Passenger-Drive-By
  • DB: Drive-by
  • DDB: Driver-Drive-by
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).
Reply


Messages In This Thread
Badger's Anti-Drive by: Passenger/Driver/Both - by Badger(new) - 17.10.2009, 17:17
Re: Badger's Anti-Driver-Drive-By - by UsaBoy91 - 17.10.2009, 20:49
Re: Badger's Anti-Driver-Drive-By - by Badger(new) - 18.10.2009, 02:02
Re: Badger's Anti-Driver-Drive-By - by Badger(new) - 18.10.2009, 02:44
Re: Badger's Anti-Driver-Drive-By - by Badger(new) - 18.10.2009, 03:12
Re: Badger's Anti-Driver-Drive-By - by nuriel6633 - 18.10.2009, 08:22
Re: Badger's Anti-Driver-Drive-By - by Badger(new) - 18.10.2009, 16:10
Re: Badger's Anti-Driver-Drive-By - by Badger(new) - 15.11.2009, 13:18
Re: Badger's Anti-Drive by: Passenger/Driver/Both - by Badger(new) - 19.12.2009, 01:34
Re: Badger's Anti-Drive by: Passenger/Driver/Both - by panther74 - 21.12.2009, 16:06

Forum Jump:


Users browsing this thread: 3 Guest(s)