Raised This Month: $ Target: $400
 0% 

Bhop admins only [help]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wacK
Member
Join Date: Sep 2009
Old 03-02-2010 , 14:38   Bhop admins only [help]
Reply With Quote #1

Can someone help me to make this plugin admins only and add somthing my m8 told me to add (i have never scripted)

Code:
new oldbuttons = get_user_oldbutton(client);

oldbuttons &= ~IN_JUMP;
entity_set_int(client, EV_INT_oldbuttons, oldbuttons);

And you need to add pre_think and add a check that check that players is alive and connected!

Adminflag a

+ Karma
__________________

  • WACK

wacK is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-02-2010 , 15:02   Re: Bhop admins only [help]
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=69840
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
wacK
Member
Join Date: Sep 2009
Old 03-02-2010 , 15:22   Re: Bhop admins only [help]
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
I dont want that, i wanna have youst that when a admin whit admin flag a connect, he will get auto-bhop.
__________________

  • WACK

wacK is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-02-2010 , 15:28   Re: Bhop admins only [help]
Reply With Quote #4

Well, you are in the Scripting Help section, so it is assumed that you know how to code.
Something as simple as taking that plugin and limiting to admins only should be easy for a scripter, even a beginner.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
wacK
Member
Join Date: Sep 2009
Old 03-02-2010 , 15:30   Re: Bhop admins only [help]
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Well, you are in the Scripting Help section, so it is assumed that you know how to code.
Something as simple as taking that plugin and limiting to admins only should be easy for a scripter, even a beginner.
Then you dont know me, haha. And this code is made by Asplii, he have it on he's blockmaker, but there he enable it for everyone. He gave me the code so.. I need help!

And please dont remove the post, and i know you can make the code on 2sec, so please do that
__________________

  • WACK

wacK is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-02-2010 , 15:35   Re: Bhop admins only [help]
Reply With Quote #6

Moved to the proper place since you can't make it yourself.
Also, I'm not going to make it because something like this for admins only is immoral and wrong.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
wacK
Member
Join Date: Sep 2009
Old 03-02-2010 , 15:41   Re: Bhop admins only [help]
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
Moved to the proper place since you can't make it yourself.
Also, I'm not going to make it because something like this for admins only is immoral and wrong.
I'm not going to use it public, im going to have it on my server that is only for me and my friends..
__________________

  • WACK

wacK is offline
wacK
Member
Join Date: Sep 2009
Old 03-02-2010 , 16:01   Re: Bhop admins only [help]
Reply With Quote #8

Can someone please make this easy code for me and my friends? We are on LAN and wanna play some kz maps whit auto-bhop, and we dont wanna use kzh or somthing like that..
__________________

  • WACK

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

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);
        }
    }

lazarev is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-02-2010 , 16:49   Re: Bhop admins only [help]
Reply With Quote #10

Don't bump until 2 weeks have passed since last post.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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