Just something I worked up for my own PNRP server. It adds a short delay after landing before you can jump again, and also applies a viewpunch effect. Its also simple enough that it can be reconfigured to the preferences of server owners and implemented very easily. (I just stuck this in my shared.lua file)
- Code: Select all
hook.Add("OnPlayerHitGround", "HopSpam", function(player)
player:SetJumpPower(0)
player:ViewPunch(Angle(7, 0, 0))
timer.Simple( 0.5, function() player:SetJumpPower(200) end )
end)
I thought you all might be interested in this, so here you go.