[FilterScript] Anti-Drive By System - 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] Anti-Drive By System (
/showthread.php?tid=501652)
Anti-Drive By System -
thomaswilliams - 19.03.2014
Anti Drive By System
by Thomas Williams
Information:
This filterscript / addon basically stops people pressing "H" while a passenger to shoot out of the window, this has been made for various servers (especially RP).
Why I made this:
I made this from requests because I am a scripter for various servers including my own and think it's UNRP when people hang halfway out the window shooting the car behind them.
Download:
Re: Anti-Drive By System -
Zeppo - 19.03.2014
Your code is useless. You could just do
pawn Код:
SetPlayerArmedWeapon(playerid, 0);
under OnPlayerEnterVehicle and it'll prevent them from selecting a weapon.
Re: Anti-Drive By System -
thomaswilliams - 19.03.2014
You could but then it would stop them from carrying a weapon in a vehicle.
Re: Anti-Drive By System -
MORJAN1122 - 19.03.2014
Nice system
Re: Anti-Drive By System -
thomaswilliams - 19.03.2014
Thanks, glad someone likes it
Re: Anti-Drive By System -
Zeppo - 19.03.2014
Quote:
Originally Posted by thomaswilliams
You could but then it would stop them from carrying a weapon in a vehicle.
|
Exactly the whole point of "Anti Drive-by".
If they can't do drive-by's then what's the point of carrying a weapon in the vehicle?