Jump to content
Sign in to follow this  
[N]aruto

armor - flashbang - bunny

Recommended Posts

[N]aruto    84
1- We boast the simplicity of the server. Well,every round 100 armor + 1 flashbang + 1000$ ''vip-admin'' how does this fit in simplicity?
armor is not given money anyway and save money constantly.

Suggestion: No flashbang.  armor-->Let's get one in two rounds 

2- some of them are doing very nice bunny (look video). your anti bunny scripts are not smooth. 

Suggestion: maybe you can add another script

 

 

 


 


 

  • Like 1

Share this post


Link to post
[N]aruto    84
(edited)

all you do is insert the code

anti_bunny.sma

or code

#include <amxmodx>
#include <fakemeta>

#define BHOP_SPEED_X 0.75
#define JUMP_TIME 1.0

const OFFSET_PAINSHOCK = 108
new in_air[33], old_in_air[33]
new Float:last_jump[33]
public plugin_init()
{
    register_plugin("anti_bunny", "1.0", "ozel")
    register_forward(FM_PlayerPreThink, "fw_clientPreThink", 0)
}
public fw_clientPreThink(id)
{
    if(!is_user_alive(id)) return PLUGIN_CONTINUE
    if(pev(id, pev_button) & IN_JUMP)
    {
        last_jump[id] = get_gametime()
    }
    old_in_air[id] = in_air[id]
    if(pev(id, pev_flags) & FL_ONGROUND)
    {
        in_air[id] = 0
    }
    else
    {
        in_air[id] = 1
    }
    if(old_in_air[id] && !in_air[id]) 
    {
        if(last_jump[id] + JUMP_TIME > get_gametime()) 
        {
            set_pdata_float(id, OFFSET_PAINSHOCK, BHOP_SPEED_X) 
        }
    }
    return PLUGIN_CONTINUE
}
public client_connect(id)
{
    in_air[id] = 0
    old_in_air[id] = 0
    last_jump[id] = 0.0
} 

 

Edited by n`eat ^ [N]aruto
  • Like 1

Share this post


Link to post
смурф    2,123
В 05.10.2019 в 20:13, Dresden сказал:

Suggestion: maybe you can add another script

you can enable speckeys (/speckeys) if you have any suspicion
none of the plugins give 100% protection from bhop hacks

  • Tender emotion 1

Share this post


Link to post
[N]aruto    84

I used this for a long time. It works very well. 100% effective against humans and zombies (except leaper). 

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×