FastBhop fixed

Forumas specialiai skirtas pamokoms kuriant CS 1.6 serverį
Post Reply
Kenzy
Jau po truputį tampa savu
Posts: 106
Joined: 2017 Jan 22 20:41

FastBhop fixed

Post by Kenzy »

Hello,
Please i need some Help on my Plugin
that plugin is bannybhop but that is faster, and i want add butter E on plugin for stay down
Please, Thanks

Code: Select all

#include <amxmisc>#include <engine>&nbsp;#define PLUGIN "FastBhop"#define VERSION "1.0"#define AUTHOR "FaSTeR"#pragma tabsize 0&nbsp;&nbsp;public plugin_init&#40;&#41; &#123;&nbsp; &nbsp; register_plugin&#40;PLUGIN, VERSION, AUTHOR&#41;&nbsp; &nbsp; register_cvar&#40;"bh_enabled", "1"&#41;&nbsp; &nbsp; register_cvar&#40;"sv_airaccelerate", "1000"&#41;&#125;public client_PreThink&#40;id&#41; &nbsp;&#123; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if &#40;!get_cvar_num&#40;"bh_enabled"&#41;&#41;&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED; &nbsp; &nbsp; &nbsp; &nbsp; entity_set_float&#40;id, EV_FL_fuser2, 0.0&#41; &nbsp; &nbsp; &nbsp; &nbsp; if &#40;entity_get_int&#40;id, EV_INT_button&#41; & 2&#41; &nbsp;&nbsp; &nbsp; &#123; &nbsp; &nbsp; &nbsp; &nbsp; new flags = entity_get_int&#40;id, EV_INT_flags&#41; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if &#40;flags & FL_WATERJUMP&#41; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE &nbsp; &nbsp; &nbsp; &nbsp; if &#40; entity_get_int&#40;id, EV_INT_waterlevel&#41; >= 2 &#41; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE &nbsp; &nbsp; &nbsp; &nbsp; if &#40; !&#40;flags & FL_ONGROUND&#41; &#41; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Float:velocity&#91;3&#93; &nbsp; &nbsp; &nbsp; &nbsp; entity_get_vector&#40;id, EV_VEC_velocity, velocity&#41; &nbsp; &nbsp; &nbsp; &nbsp; velocity&#91;0&#93; *= 2.15&nbsp; &nbsp; &nbsp; &nbsp; velocity&#91;1&#93; *= 2.15&nbsp; &nbsp; &nbsp; &nbsp; velocity&#91;2&#93; += 250.5 &nbsp; &nbsp; &nbsp; &nbsp; entity_set_vector&#40;id, EV_VEC_velocity, velocity&#41; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; entity_set_int&#40;id, EV_INT_gaitsequence, 4&#41; &nbsp; &nbsp; &#125; &nbsp; &nbsp; return PLUGIN_CONTINUE &#125;
-- 2017 Oct 12 22:59 --

pls help, i mean when i do bunnybhop and when jump and then Press E Get down to the ground quickly
and stay fast in down
Last edited by Kenzy on 2017 Oct 11 23:15, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests