Raised This Month: $51 Target: $400
 12% 

Fake Bot help please


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SANTO37
Member
Join Date: Aug 2008
Old 03-29-2012 , 15:37   Fake Bot help please
Reply With Quote #1

how the number of its three removable ?
PHP Code:
#include < amxmodx >
#include < cstrike >
#include < fakemeta >

new g_Bot];

public 
plugin_init( )
{
    
register_plugin"PLUGIN" "VERSION" "AUTHOR" );
    
    
g_Bot] = register_cvar"bot_enabled"    "1" );
    
g_Bot] = register_cvar"bot_name"        "MyBot" );
    
    
set_task5.0 "CreateBot");
}

public 
CreateBot( )
{
    if( !
g_Bot] ) 
        return 
PLUGIN_HANDLED
    
    
new szName32 ];
    
get_pcvar_stringg_Bot] , szName 31 );
    
    new 
id find_player"i" );
    
    if( !
id )
    {
        
id engfuncEngFunc_CreateFakeClient szName );
        if( 
pev_validid ) ) {
            
engfuncEngFunc_FreeEntPrivateData id );
            
dllfuncMetaFunc_CallGameEntity "player" id );
            
            
set_user_infoid "rate"        "3500" );
            
set_user_infoid "cl_updaterate"    "25" );
            
set_user_infoid "cl_lw"        "1" );
            
set_user_infoid "cl_lc"        "1" );
            
set_user_infoid "cl_dlmax"        "128" );
            
set_user_infoid "cl_righthand"    "1" );
            
set_user_infoid "_vgui_menus"    "0" );
            
set_user_infoid "_ah"        "0" );
            
set_user_infoid "dm"            "0" );
            
set_user_infoid "tracker"        "0" );
            
set_user_infoid "friends"        "0" );
            
set_user_infoid "*bot"        "1" );
            
            
set_pevid pev_flags pevid pev_flags ) | FL_FAKECLIENT );
            
set_pevid pev_colormap id );
            
            new 
szMsg128 ];
            
dllfuncDLLFunc_ClientConnect id szName "127.0.0.1" szMsg );
            
dllfuncDLLFunc_ClientPutInServer id );
            
            
cs_set_user_teamid CS_TEAM_T );
            
// ExecuteHamB( Ham_CS_RoundRespawn , id )
            
dllfuncDLLFunc_Spawnid)
            
            
set_pevidpev_effects pevid pev_effects ) | EF_NODRAW );
            
set_pevidpev_solid SOLID_NOT );
            
// dllfunc( DLLFunc_Think , id );
        
}
    }
    return 
PLUGIN_CONTINUE

SANTO37 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-29-2012 , 15:58   Re: Fake Bot help please
Reply With Quote #2

Quote:
Originally Posted by SANTO37 View Post
how the number of its three removable ?
1.This doesn't make sense.
2.Post your problem where you got the plugin from.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 05:54.


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