Created
May 10, 2013 13:08
-
-
Save korden32/5554293 to your computer and use it in GitHub Desktop.
Simple BunnyHop for SM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon) | |
if (IsPlayerAlive(client) && (buttons & IN_JUMP) && !(GetEntityFlags(client) & FL_ONGROUND) && !(GetEntityMoveType(client) & MOVETYPE_LADDER) && (GetEntProp(client, Prop_Data, "m_nWaterLevel") <= 1)) | |
buttons &= ~IN_JUMP; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment