[FilterScript] [FS] Professional AntiKill/AntiShoot v1.2 - ideal for stunting servers
#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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)