Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GM:CreateMove( uc )
- if GetConVarNumber( "avanicdeathrun_bhop" ) != 1 then return end
- local lp = LocalPlayer()
- if lp:WaterLevel() < 3 and lp:Alive() and lp:GetMoveType() == MOVETYPE_WALK then
- if not lp:InVehicle() and ( band(uc:GetButtons(), IN_JUMP) ) > 0 then
- if lp:IsOnGround() then
- uc:SetButtons( uc:GetButtons() or IN_JUMP )
- else
- uc:SetButtons( band(uc:GetButtons(), bhstop) )
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement