Raised This Month: $ Target: $400
 0% 

sb_takecontrol without cheats


Post New Thread Reply   
 
Thread Tools Display Modes
Author
unskillx
New Member
Join Date: May 2024
Plugin ID:
8699
Plugin Version:
1.00
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows use sb_takecontrol command without sv_cheats 1. Only L4D2 Support
    Old 05-08-2024 , 04:55   sb_takecontrol without cheats
    Reply With Quote #1

    Allows use sb_takecontrol command without sv_cheats 1. Only L4D2 Support.

    code:
    #include <sourcemod>
    #define PLUGIN_VERSION "0.0.1"

    public OnPluginStart(){
    int flags=GetCommandFlags("sb_takecontrol");
    SetCommandFlags("sb_takecontrol", flags & ~FCVAR_CHEAT);
    }
    Attached Files
    File Type: smx sb_tk.smx (2.5 KB, 0 views)
    File Type: sp Get Plugin or Get Source (sb_tk.sp - 6 views - 189 Bytes)

    Last edited by unskillx; 05-23-2024 at 13:30.
    unskillx is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 05-08-2024 , 07:48   Re: sb_takecontrol without cheats
    Reply With Quote #2

    sb_takecontrol can't properly select l4d2 character in l4d1 survivor set map, it's better to implement another command loop through client's model name corresponding to the character name and use left4dhooks functions to takeover bot. and add a menu to select character is comfortable.

    Last edited by little_froy; 05-08-2024 at 07:49.
    little_froy is online now
    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 05:28.


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