Raised This Month: $ Target: $400
 0% 

Bhop admins only [help]


Post New Thread Reply   
 
Thread Tools Display Modes
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-02-2010 , 17:40   Re: Bhop admins only [help]
Reply With Quote #11

If its only on the lan whats the point of checking if admin?... Wouldn't every one there be allowed to bhop?
Doc-Holiday is offline
wacK
Member
Join Date: Sep 2009
Old 03-03-2010 , 09:30   Re: Bhop admins only [help]
Reply With Quote #12

Quote:
Originally Posted by NcB_Sav View Post
If its only on the lan whats the point of checking if admin?... Wouldn't every one there be allowed to bhop?
They are admins..
__________________

  • WACK

wacK is offline
wacK
Member
Join Date: Sep 2009
Old 03-03-2010 , 09:31   Re: Bhop admins only [help]
Reply With Quote #13

Quote:
Originally Posted by lazarev View Post
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <engine>

public client_PreThink(id)
{
    if(
is_user_alive(id))
    {
        if(
get_user_flags(id) & ADMIN_IMMUNITY)
        {
            
//get players old buttons
            
new oldbuttons get_user_oldbutton(id);
        
            
//remove jump flag from old buttons
            
oldbuttons &= ~IN_JUMP;
            
entity_set_int(idEV_INT_oldbuttonsoldbuttons);
        }
    }


I need
;register_plugin(define1, define2, define3)
#define PLUGIN "Bhopadminsonly"
#define AUTHOR "lazarev"
#define VERSION "0.0.1"

? Can you fix that, so i can only move it on my server.. Thanks anyways!
__________________

  • WACK

wacK is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 03-03-2010 , 09:34   Re: Bhop admins only [help]
Reply With Quote #14

why you need register_plugin? it works without it ;D
lazarev is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-03-2010 , 10:12   Re: Bhop admins only [help]
Reply With Quote #15

Quote:
Originally Posted by wacK View Post
They are admins..
Since they are all admins, why do you need to restrict it to admins?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-03-2010 , 12:52   Re: Bhop admins only [help]
Reply With Quote #16

Good cheat noob.

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

const ADMIN_BHOP ADMIN_IMMUNITY

new const VERSION[] = "0.0.1"

const FL_CAN_JUMP FL_WATERJUMP|FL_ONGROUND

public plugin_init()
{
    
register_plugin("Admin Bhop Hack"VERSION"ConnorMcLeod")

    
RegisterHam(Ham_Player_Jump"player""Ham__CBasePlayer_Jump__Pre")

}

public 
Ham__CBasePlayer_Jump__Pre(id)
{
    if( 
is_user_alive(id) && get_user_flags(id) & ADMIN_BHOP )
    {
        if(    
pev(idpev_flags) & FL_CAN_JUMP == FL_ONGROUND
        
&&    pev(idpev_waterlevel) < 2    )
        {
            new 
iOldButtons pev(idpev_oldbuttons)
            if( 
iOldButtons IN_JUMP )
            {
                
pev(idpev_oldbuttonsiOldButtons & ~IN_JUMP)
            }
        }
    }

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
wacK
Member
Join Date: Sep 2009
Old 03-03-2010 , 15:26   Re: Bhop admins only [help]
Reply With Quote #17

Quote:
Originally Posted by ConnorMcLeod View Post
Good cheat noob.

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

const ADMIN_BHOP ADMIN_IMMUNITY

new const VERSION[] = "0.0.1"

const FL_CAN_JUMP FL_WATERJUMP|FL_ONGROUND

public plugin_init()
{
    
register_plugin("Admin Bhop Hack"VERSION"ConnorMcLeod")

    
RegisterHam(Ham_Player_Jump"player""Ham__CBasePlayer_Jump__Pre")

}

public 
Ham__CBasePlayer_Jump__Pre(id)
{
    if( 
is_user_alive(id) && get_user_flags(id) & ADMIN_BHOP )
    {
        if(    
pev(idpev_flags) & FL_CAN_JUMP == FL_ONGROUND
        
&&    pev(idpev_waterlevel) < 2    )
        {
            new 
iOldButtons pev(idpev_oldbuttons)
            if( 
iOldButtons IN_JUMP )
            {
                
pev(idpev_oldbuttonsiOldButtons & ~IN_JUMP)
            }
        }
    }


[ 41] Admin Bhop Hack 0.0.1 ConnorMcLeod bhop_admin.amxx running

But when i hold down space, i dont auto-bhop..
__________________

  • WACK

wacK 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:28.


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