Quote:
Originally Posted by -=Roland=-
Semi related. I need to see if there is a way to prevent a player from shooting or throwing nades in an area but still move.
|
Nade explosions can be removed with a noannoyances trigger_ff_script if I'm not mistaken. Look in one of the includes (under the noannoyances definitions) for the code that removes grenade explosions.
Player shooting I'm not sure about (I think you can block/remove projectiles but I'm not sure how), but you can strip all weapons or all ammo using:
Code:
player:RemoveAllAmmo(true)
and/or
player:RemoveAllWeapons()