Thread
:
Anti Spawn Kill V1.5 (Updated 15/7/2017 )
View Single Post
eyal282
Veteran Member
Join Date: Aug 2011
10-07-2016 , 15:07 Re: Anti Spawn Kill
#
17
Quote:
Originally Posted by
HamletEagle
I've searched a bit and found no other plugin, so I'm okay with that. For approval:
1.In
HamBurger_Spawn
always check
is_user_alive
before doing anything.
2.In
HamBurger_Damage
firstly check if
victim
is still connected.
3.Remove
client_PreThink
for detecting
IN_ATTACK
and
IN_ATTACK2
Switch to
PrimaryAttack
and
SecondaryAttack
with proper checks. If you want to be sure that player actually fired a bullet, go for
FM_PlaybackEvent
. But I think you are only interested if he press the button, so first way is good enough.
I also fixed a bug that allows players to shoot in the last second.
eyal282
View Public Profile
Send a private message to eyal282
Visit eyal282's homepage!
Find More Posts by eyal282