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> #define PLUGIN "FastBhop"#define VERSION "1.0"#define AUTHOR "FaSTeR"#pragma tabsize 0 public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_cvar("bh_enabled", "1") register_cvar("sv_airaccelerate", "1000")}public client_PreThink(id) { if (!get_cvar_num("bh_enabled")) return PLUGIN_HANDLED; entity_set_float(id, EV_FL_fuser2, 0.0) if (entity_get_int(id, EV_INT_button) & 2) { new flags = entity_get_int(id, EV_INT_flags) if (flags & FL_WATERJUMP) return PLUGIN_CONTINUE if ( entity_get_int(id, EV_INT_waterlevel) >= 2 ) return PLUGIN_CONTINUE if ( !(flags & FL_ONGROUND) ) return PLUGIN_CONTINUE new Float:velocity[3] entity_get_vector(id, EV_VEC_velocity, velocity) velocity[0] *= 2.15 velocity[1] *= 2.15 velocity[2] += 250.5 entity_set_vector(id, EV_VEC_velocity, velocity) entity_set_int(id, EV_INT_gaitsequence, 4) } return PLUGIN_CONTINUE }
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