Raised This Month: $ Target: $400
 0% 

Problem with BOT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-21-2009 , 13:39   Re: Problem with BOT
Reply With Quote #1

Quote:
Originally Posted by Dr.G View Post
Works for DoD.. so i thinks its... for bots
Yeah but not self made bots, but hardcoded game bots...
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-21-2009 , 14:29   Re: Problem with BOT
Reply With Quote #2

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
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-21-2009 , 14:46   Re: Problem with BOT
Reply With Quote #3

@padilha: Did you make it think often?
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores 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 01:48.


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