Categoria cu cereri de pluginuri si nu numai.
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
SteFFz99
- Membru, skill 0
- Posts: 27
- Joined: 21 Oct 2013, 17:42
- Detinator Steam: Nu
- Location: Bucuresti
- Has thanked: 7 times
-
Contact:
22 Oct 2013, 15:16
Salut!
Dupa cum spune si titlul, vreau un plugin de bhop. Caut de doua zile si nu il gasesc. Vreau un plugin de Bhop AUTOMAT care sa nu se opreasca atunci cand am CTRL. Stiti voi, un fel de fully automatic. Multumesc anticipat!
-
KrAiD.
- Fost moderator
- Posts: 866
- Joined: 15 Jun 2013, 12:14
- Detinator Steam: Da
- CS Status: Cat de cat activ :D
- Detinator server CS: Nu
- Reputatie: Fost Moderator ajutator
0.7 / 3
- Has thanked: 14 times
- Been thanked: 131 times
-
Contact:
22 Oct 2013, 15:39
poftim
- | Afiseaza codul
/*
*
* Author: homorapian
* Date: 14-Aug-2005
*
*
* what it is.. It is a bunnyhop that removes the slowdown after a jump. hold it to go faster
*
* Cvars:
* bh_enabled 1 to enable this plugin, 0 to disable.
* bh_autojump If set to 1 players just need to hold down jump to bunny hop (no skill required)
* bh_showusage If set to 1 it will inform joining players that bunny hopping has been enabled
* and how to use it if bh_autojump enabled.
*
* Requirements: amxmodx 1.01 or higher
*
* ************************ I LEARNED THIS PLUGIN FROM ANOTHER Bunnyhop PLUGIN*************************************
*/
#include <amxmodx>
#include <engine>
#define FL_WATERJUMP (1<<11) // popping out of the water
#define FL_ONGROUND (1<<9) // not moving on the ground
public plugin_init() {
register_plugin("Bhop", "1.0", "homorapian")
register_cvar("sbhopper_version", "1.0", FCVAR_SERVER)
register_cvar("bh_enabled", "1")
register_cvar("bh_autojump", "1")
register_cvar("bh_showusage", "1")
}
public client_PreThink(id) {
if (!get_cvar_num("bh_enabled"))
return PLUGIN_CONTINUE
entity_set_float(id, EV_FL_fuser2, 0.0) // Won't slow down after a jump
if (!get_cvar_num("bh_autojump"))
return PLUGIN_CONTINUE
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[2] += 250.0
entity_set_vector(id, EV_VEC_velocity, velocity)
entity_set_int(id, EV_INT_gaitsequence, 6) // Jump graphics
}
return PLUGIN_CONTINUE
}
public client_authorized(id)
set_task(30.0, "showUsage", id)
public showUsage(id) {
if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
return PLUGIN_HANDLED
if ( !get_cvar_num("bh_autojump") ) {
client_print(id, print_chat, "[DR.NUME.COM] Bunny hop este activat pe acest server. Datorita acestui plugin poti face bunny hop pe server")
} else {
client_print(id, print_chat, "[DR.NUME.COM] Bunny hop este activat pe acest server. Datorita acestui plugin poti face bunny hop pe server")
}
return PLUGIN_HANDLED
}
cvar-uri
bh_enabled 1
bh_autojump 1
bh_showusage 1
si uitate in server.cfg sa fie
sv_airaccelerate 100
-
SteFFz99
- Membru, skill 0
- Posts: 27
- Joined: 21 Oct 2013, 17:42
- Detinator Steam: Nu
- Location: Bucuresti
- Has thanked: 7 times
-
Contact:
22 Oct 2013, 15:47
Multumesc mult, cautam de foarte mult timp, dar cum fac sa nu mai apara mesajele alea pe chat? Ce sterg?
-
Rap^
- Membru, skill +2
- Posts: 621
- Joined: 01 Oct 2011, 00:25
- Detinator Steam: Da
- Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
- Location: Bucuresti
- Has thanked: 16 times
- Been thanked: 156 times
22 Oct 2013, 15:55
Stergi astea:
- | Afiseaza codul
public client_authorized(id)
set_task(30.0, "showUsage", id)
public showUsage(id) {
if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
return PLUGIN_HANDLED
if ( !get_cvar_num("bh_autojump") ) {
client_print(id, print_chat, "[DR.NUME.COM] Bunny hop este activat pe acest server. Datorita acestui plugin poti face bunny hop pe server")
} else {
client_print(id, print_chat, "[DR.NUME.COM] Bunny hop este activat pe acest server. Datorita acestui plugin poti face bunny hop pe server")
}
return PLUGIN_HANDLED
}
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
-
SteFFz99
- Membru, skill 0
- Posts: 27
- Joined: 21 Oct 2013, 17:42
- Detinator Steam: Nu
- Location: Bucuresti
- Has thanked: 7 times
-
Contact:
-
Users browsing this forum: No registered users and 36 guests