Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void DoBhop(CUserCmd* cmd)
- {
- if (g_LocalPlayer->m_nMoveType() == MOVETYPE_NOCLIP || g_LocalPlayer->m_nMoveType() == MOVETYPE_LADDER)
- return;
- if (cmd->buttons & IN_JUMP && !(g_LocalPlayer->m_fFlags() & FL_ONGROUND))
- cmd->buttons &= ~IN_JUMP;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement