SA-MP Forums Archive
[FilterScript] [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - 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] [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers (/showthread.php?tid=54369)



[FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Streetplaya - 31.10.2008


__________________________________________________ __________________________________________________ _______________________________________________

[FS] AntiKill / AntiShoot | Version 1.2
Ideal for stunting servers!


Are you tired of these stupid killers in stunting servers? Then use this FS!
It freezes a player for 5 seconds when he is pressing the FIRE-Button.
You can define your own exceptions in the script on line 37. (e.g DM area check)


Download
Pastebin (v1.1)
Pastebin (v1.2)
(Thanks to kaisersouse for the driveby-thing suggestion.)

__________________________________________________ __________________________________________________ _______________________________________________


Re: [FS] Professional AntiKill/AntiShoot v1.1 - ideal for stunting servers - kaisersouse - 31.10.2008

Might want to add
Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return 1;
Towards the top of onplayerkeystatechange so that anyone using NOS etc don't get penalized for "shooting"

I used GetPlayerState instead of IsPlayerInAnyVehicle because if you don't specify which seat position you could have drive-bys. The driver can still DB of course, so it might be worth removing weapons when a player enters the car.
Just some suggestions. Otherwise its a great idea.


Re: [FS] Professional AntiKill/AntiShoot v1.1 - ideal for stunting servers - Streetplaya - 31.10.2008

Quote:
Originally Posted by kaisersouse
I used GetPlayerState instead of IsPlayerInAnyVehicle because if you don't specify which seat position you could have drive-bys. The driver can still DB of course, so it might be worth removing weapons when a player enters the car.
Just some suggestions. Otherwise its a great idea.
Oh, didn't think about that. But maybe a check with GetPlayerWeaponData may fix the driver-driveby thing^^

EDIT: first post updated.


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - ғαιιοцт - 19.11.2008

good script MaVe
i think many people can use this


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Streetplaya - 25.11.2008

Quote:
Originally Posted by °ғαιιοцт°
good script MaVe
thanks


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Happy - 25.11.2008

I think its VERY usefull for stunt servers, nice


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Streetplaya - 25.12.2008

Quote:
Originally Posted by Happy
I think its VERY usefull for stunt servers, nice
Thanks


Re: [FS] Professional AntiKill/AntiShoot v1.1 - ideal for stunting servers - beckzy - 25.12.2008

Quote:
Originally Posted by [1337
MaVe ]
Quote:
Originally Posted by kaisersouse
I used GetPlayerState instead of IsPlayerInAnyVehicle because if you don't specify which seat position you could have drive-bys. The driver can still DB of course, so it might be worth removing weapons when a player enters the car.
Just some suggestions. Otherwise its a great idea.
Oh, didn't think about that. But maybe a check with GetPlayerWeaponData may fix the driver-driveby thing^^

EDIT: first post updated.
GetPlayerWeaponData is buggy, the ammo part of it is sometimes bugged and returns something higher than 9999 (not sure if this was fixed or not with 0.2X)


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - James_Alex - 26.12.2008

Very good fs
good job


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Streetplaya - 06.01.2009

Quote:
Originally Posted by James_Alex
Very good fs
good job
Thank you


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - lesley - 09.03.2009

Omg awesome! Didnt think it would be possible


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Mrkrabz - 15.03.2009

what about when your in a tank?


Re: [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers - Mr_LeaDeR - 15.03.2009

Many people weill sue it