Raised This Month: $ Target: $400
 0% 

Problem with BOT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-21-2009 , 14:29   Re: Problem with BOT
Reply With Quote #5

I think is_user_bot should work, but you have to update the bot each frame (FM_StartFrame), even if you don't plain to use this native.

PHP Code:
public StartFrame()
{
    if(
g_iBot && pev_valid(g_iBot))
    {
        static 
Float:fMSec
        set_pev
(g_iBotpev_flagspev(g_iBotpev_flags) | FL_FAKECLIENT)
        
global_get(glb_frametimefMSec)
        
fMSec *= 1000.0
        engfunc
(EngFunc_RunPlayerMoveg_iBotFloat:{0.0,0.0,0.0}, 0.00.00.000floatround(fMSec))
    }

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



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 01:48.


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