• Temporarily disabling +attack or making the weapon do zero damage
    2 replies, posted
How do i temporarily make a player unable to kill anything? I tried with the "PlayerBindPress" hook, but it didn't work. Is it possible to disable primary fire on all weapons in any other way?
You could use GM/PlayerShouldTakeDamage to disable damage completley, and with a timer.Simple remove the hook or return true again
Look at this hook GM/ScalePlayerDamage With that you can use the dmginfo to find out who the attacker is using CTakeDamageInfo:GetAttacker() Then if the attacker is a player who is not allowed you kill someone you can do something like dmginfo:ScaleDamage( 0.00 )
Sorry, you need to Log In to post a reply to this thread.