Descriere: cu acest plugin puteti face bhop pe server !
Descarcare:
Code:/* LordOfNothing @ 2013
Change Log :
1.0 - Original Source
1.1 - Change client_prethink with Ham_Player_Jump
1.2 - Add command /bhop
Credits :
wacK - Original Source
LordOfnothing - project developer
*/
#include <amxmodx>
#include <engine>
#include <hamsandwich>
#include <colorchat>
new const PLUGIN [] = "Auto Bunny Hop";
new const VERSION [] = "1.2";
new const AUTHOR [] = "LordOfNothing";
new bool:BhopOn[33];
public plugin_init() {
register_plugin(PLUGIN,VERSION,AUTHOR)
RegisterHam(Ham_Player_Jump, "player", "Fwd_JumpCount", 1)
register_clcmd("say /bhop","ActivateBhop");
register_clcmd("say_team /bhop","ActivateBhop");
}
public ActivateBhop(id)
{
if(!BhopOn[id])
{
ColorChat(id, RED, "[BHOP] ^4Ai activat auto bhop !");
BhopOn[id] = true;
return PLUGIN_HANDLED
}else{
ColorChat(id, RED, "[BHOP] ^4Ai dezactivat auto bhop !");
BhopOn[id] = false;
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
public client_disconnect(id)
{
BhopOn[id] = false;
}
public Fwd_JumpCount(id) {
if(is_user_alive(id) && BhopOn[id])
{
new oldbuttons = get_user_oldbutton(id);
oldbuttons &= ~IN_JUMP;
entity_set_int(id, EV_INT_oldbuttons, oldbuttons);
}
}
Nume: Bhop
Versiune: 1.2
Link oficial:
http://Incerc sa fac reclama/forum
Instalare:
1. Fisierul bhop.sma il puneti in addons/amxmodx/scripting
2. Fisierul bhop.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:bhop.amxx
Comenzi chat: