Raised This Month: $ Target: $400
 0% 

Bot Chats do not appear


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-28-2022 , 11:00   Re: Bot Chats do not appear
Reply With Quote #5

Quote:
bots chat only appear on HLDS not in-game.
At a glance. Untested. Bots that usually do not talk, won't. Hope this is what you mean.

Post Test from OP. Did not work.
Code:

    {
        if(!is_user_connected(i))
            continue;
        
        message_begin(MSG_ONE, get_user_msgid("SayText"), {0, 0, 0}, i);
        write_byte(id);
        write_string(SzMessages);
        message_end();
    } 

    {
        if(!is_user_connected(i) || !is_user_bot(i) || is_user_bot(i))
            continue;
        
        message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), {0, 0, 0}, i);
        write_byte(id);
        write_string(SzMessages);
        message_end();
    }
Quote:
Originally Posted by feren02 View Post
---- Upon doing this, even a Human player chats cannot be seen in-game anymore. What maybe the other work around?
__________________

Last edited by DJEarthQuake; 02-01-2022 at 11:24.
DJEarthQuake 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 11:30.


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