Raised This Month: $12 Target: $400
 3% 

Problem with Multi Jump + Bhop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Devvii
BANNED
Join Date: Aug 2022
Location: GB
Old 08-12-2022 , 10: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
Code:
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
Send a message via ICQ to Devvii Send a message via AIM to Devvii Send a message via Yahoo to Devvii Send a message via Skype™ to Devvii
helloWei
Junior Member
Join Date: Oct 2023
Old 10-17-2023 , 07:55   Re: Problem with Multi Jump + Bhop
Reply With Quote #2

I'm looking for this, too. But I heard that loading the double jump before bhop, you can try.
helloWei is offline
Reply


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 09:16.


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