Raised This Month: $ Target: $400
 0% 

Make bots always run


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dominannto
New Member
Join Date: Oct 2019
Old 10-19-2019 , 03:29   Make bots always run
Reply With Quote #1

I want to make bots always run. Bots walk when they are chasing people from behind with knife.

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




public plugin_init()
{
    
register_plugin("bot_walk""0.1""UD")
    
register_forwardFM_CmdStart "fm_CmdStart" );

}

public 
fm_CmdStart(id,Handle)
{
    new 
ButtonsButtons get_uc(Handle,UC_Buttons);
    if(
is_user_bot(id))
    {
        
Buttons &= ~IN_RUN;
        
set_ucHandle UC_Buttons Buttons );
        return 
FMRES_SUPERCEDE;
    }
    return 
FMRES_HANDLED

dominannto is offline
Reply


Thread Tools
Display Modes

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 02:59.


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