Raised This Month: $ Target: $400
 0% 

Bhop On/Off


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jackas
Senior Member
Join Date: Feb 2011
Old 12-08-2011 , 10:46   Bhop On/Off
Reply With Quote #1

PHP Code:
#include <amxmodx> 
#include <fakemeta> 
#include <hamsandwich> 

#define VERSION "0.0.1"
#define PLUGIN "Simple AutoBhop"

new g_bitAutoBhop
#define ClearUserAutoBhop(%0)    g_bitAutoBhop &= ~(1<<(%0&31))
#define HasUserAutoBhop(%0)    g_bitAutoBhop & 1<<(%0&31)
#define ToggleUserAutoBhop(%0)    g_bitAutoBhop ^= 1<<(%0&31)

public plugin_init () 
{
    
register_plugin(PLUGINVERSION"ConnorMcLeod")
    
register_clcmd("say /bhop " "ClCmd_AutoBhop"
    
RegisterHam(Ham_Player_Jump "player" "Ham_CBasePlayer_Jump_Pre"


public 
client_putinserver id 

    
ClearUserAutoBhopid )


public 
ClCmd_AutoBhopid 

    if( 
is_user_alive(id) ) 
    { 
        
ToggleUserAutoBhopid )
    } 


public 
Ham_CBasePlayer_Jump_Pre id 
{
    if( 
HasUserAutoBhopid ) && is_user_alive(id) )
    {
        
set_pev(idpev_oldbuttonspev(idpev_oldbuttons) & ~IN_JUMP
    }

I want to add client commands to On/Off Individual (self) Bhop
On Bhop : /bhop
Off Bhop : /offbhop
__________________
For our new family member's in alliedmods
Quote:
Originally Posted by bo0m View Post
Ok, there are a couple ways to find this, here are about 5:
1. Search
2. Search again
3. If you don't find it, then search again.
4. After searching the 3rd time, search again
5. Then when you are tired of searching, just search some more!!!!

Last edited by jackas; 12-08-2011 at 10:47.
jackas is offline
jackas
Senior Member
Join Date: Feb 2011
Old 12-10-2011 , 05:14   Re: Bhop On/Off
Reply With Quote #2

Any one ?
__________________
For our new family member's in alliedmods
Quote:
Originally Posted by bo0m View Post
Ok, there are a couple ways to find this, here are about 5:
1. Search
2. Search again
3. If you don't find it, then search again.
4. After searching the 3rd time, search again
5. Then when you are tired of searching, just search some more!!!!
jackas is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 12-10-2011 , 05:44   Re: Bhop On/Off
Reply With Quote #3

And you're the guy who is saying everyone to read the forum rules right?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
jackas
Senior Member
Join Date: Feb 2011
Old 12-10-2011 , 06:15   Re: Bhop On/Off
Reply With Quote #4

Quote:
Originally Posted by bibu View Post
And you're the guy who is saying everyone to read the forum rules right?
I bump coz from last 2 days i got only 43 views
__________________
For our new family member's in alliedmods
Quote:
Originally Posted by bo0m View Post
Ok, there are a couple ways to find this, here are about 5:
1. Search
2. Search again
3. If you don't find it, then search again.
4. After searching the 3rd time, search again
5. Then when you are tired of searching, just search some more!!!!
jackas is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 12-10-2011 , 07:37   Re: Bhop On/Off
Reply With Quote #5

It doesn't matter how many views you get.
2 weeks is 2 weeks.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Old 12-10-2011, 12:37
joshknifer
This message has been deleted by joshknifer.
jackas
Senior Member
Join Date: Feb 2011
Old 12-27-2011 , 06:12   Re: Bhop On/Off
Reply With Quote #7

Bump!
__________________
For our new family member's in alliedmods
Quote:
Originally Posted by bo0m View Post
Ok, there are a couple ways to find this, here are about 5:
1. Search
2. Search again
3. If you don't find it, then search again.
4. After searching the 3rd time, search again
5. Then when you are tired of searching, just search some more!!!!
jackas is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode