[FilterScript] [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers
#1


__________________________________________________ __________________________________________________ _______________________________________________

[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.)

__________________________________________________ __________________________________________________ _______________________________________________
Reply
#2

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.
Reply
#3

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.
Reply
#4

good script MaVe
i think many people can use this
Reply
#5

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

I think its VERY usefull for stunt servers, nice
Reply
#7

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

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)
Reply
#9

Very good fs
good job
Reply
#10

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

Omg awesome! Didnt think it would be possible
Reply
#12

what about when your in a tank?
Reply
#13

Many people weill sue it
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)