Raised This Month: $30 Target: $400

Problem with Multi Jump + Bhop

Post New Thread Reply   
Thread Tools Display Modes
Author Message
New Member
Join Date: Aug 2022
Old 08-12-2022 , 11:40   Problem with Multi Jump + Bhop
Reply With Quote #1

Hello, I have a problem with the plugin.

On the server, I use commands such as:
sv_autobunnyhopping 1
sv_enablebunnyhopping 1
sv_airaccelerate 100
sv_staminalandcost 0
sv_staminajumpcost 0
sv_staminamax 0
sv_staminajumpcost 0

And I'm using this code for Jumper class // Double Jump
public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3])
if(!IsPlayerAlive(client) || IsFakeClient(client))
return Plugin_Continue;

if((buttons & IN_JUMP) > 0 && GetEntityMoveType(client) == MOVETYPE_WALK && GetEntProp(client, Prop_Send, "m_nWaterLevel") <= 1)
int iOldButtons = GetEntProp(client, Prop_Data, "m_nOldButtons");
SetEntProp(client, Prop_Data, "m_nOldButtons", iOldButtons & ~IN_JUMP);

return Plugin_Continue;

//How to make the double jump work in bhop??
In running and jumping time, double jump is working properly.
But in Bhop time, sometimes the double jump will work or not at all.
Devvii is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 19:12.

Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode