Raised This Month: $32 Target: $400
 8% 

[CS:GO] Simple Bhop Menu.


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RiToRn
Junior Member
Join Date: Aug 2019
Plugin ID:
6697
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 08-31-2019 , 13:42   [CS:GO] Simple Bhop Menu.
    Reply With Quote #1

    Cvars:
    • bhop_prefix Prefix for Bhop menu. (Default: [Bhop])
    Compiling:

    • Download the Bhop.sp file.
    • Upload the Bhop.sp file to your compiling folder.

    Commands:
    • sm_bhop

    • Thanks to the K1lleR_gamea ($uicidE) for helping me write the code
    Attached Files
    File Type: sp Get Plugin or Get Source (bhop.sp - 1396 views - 2.4 KB)

    Last edited by asherkin; 08-31-2019 at 13:46. Reason: Removed pre-compiled attachments
    RiToRn is offline
    K1lleR_gamea
    Junior Member
    Join Date: Mar 2019
    Location: Israel
    Old 08-31-2019 , 13:43   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #2

    Nice job!
    K1lleR_gamea is offline
    RiToRn
    Junior Member
    Join Date: Aug 2019
    Old 08-31-2019 , 13:46   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #3

    Quote:
    Originally Posted by K1lleR_gamea View Post
    Nice job!
    Thanks ^^
    RiToRn is offline
    stephen473
    Senior Member
    Join Date: Jan 2017
    Location: somewhere on earth
    Old 08-31-2019 , 15:00   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #4

    hey, your code is pretty cool. how about making it shorter ?

    PHP Code:
        if (bBhopEnabled == false)
        {
            
    menu.AddItem("on""Enable");
            
    menu.AddItem("off""Disable"ITEMDRAW_DISABLED);
        }
        else
        {
            
    menu.AddItem("on""Enable"ITEMDRAW_DISABLED);
            
    menu.AddItem("off""Disable");
        } 
    -----
    PHP Code:
        menu.AddItem("on""Enable"bBhopEnabled ITEMDRAW_DISABLED:ITEMDRAW_DEFAULT);
        
    menu.AddItem("off""Disable"bBhopEnabled ITEMDRAW_DEFAULT:ITEMDRAW_DISABLED); 
    easier way to check bools, it might also be helpfull with your other plugins
    __________________
    Also known as Hardy`.

    Feel free to contact me if you have a private plugin request!

    My Steam Profile | Discord: Hardy`#3792

    Last edited by stephen473; 08-31-2019 at 15:00.
    stephen473 is offline
    RiToRn
    Junior Member
    Join Date: Aug 2019
    Old 08-31-2019 , 15:04   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #5

    Quote:
    Originally Posted by stephen473 View Post
    hey, your code is pretty cool. how about making it shorter ?

    PHP Code:
        if (bBhopEnabled == false)
        {
            
    menu.AddItem("on""Enable");
            
    menu.AddItem("off""Disable"ITEMDRAW_DISABLED);
        }
        else
        {
            
    menu.AddItem("on""Enable"ITEMDRAW_DISABLED);
            
    menu.AddItem("off""Disable");
        } 
    -----
    PHP Code:
        menu.AddItem("on""Enable"bBhopEnabled ITEMDRAW_DISABLED:ITEMDRAW_DEFAULT);
        
    menu.AddItem("off""Disable"bBhopEnabled ITEMDRAW_DEFAULT:ITEMDRAW_DISABLED); 
    easier way to check bools, it might also be helpfull with your other plugins
    Very Nice ! i will make it shorter
    RiToRn is offline
    K1lleR_gamea
    Junior Member
    Join Date: Mar 2019
    Location: Israel
    Old 09-15-2019 , 09:52   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #6

    Quote:
    Originally Posted by ByDexter View Post
    Can I turn the other players bhop off and on again?
    Of course, why not?
    K1lleR_gamea is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 09-16-2019 , 09:52   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #7

    sm_cvar my dude. what's the point of this
    __________________
    retired
    shavit is offline
    ByDexter
    Member
    Join Date: Apr 2019
    Location: Turkey (Istanbul)
    Old 09-22-2019 , 15:01   Re: [CS:GO] Simple Bhop Menu.
    Reply With Quote #8

    Quote:
    Originally Posted by K1lleR_gamea View Post
    Of course, why not?
    It would be nice to turn on and off the bhop on only 1 person

    I wonder if you can edit and
    ByDexter 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 18:46.


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