Raised This Month: $32 Target: $400
 8% 

Create a 'hidden' bot


Post New Thread Reply   
 
Thread Tools Display Modes
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 11-03-2006 , 11:35   Re: Create a 'hidden' bot
Reply With Quote #11

Maybe I should clarify my problem to help you find other ways.
I want to be able to print text in red (in the chat) to counter terrorist players even if there are no terrorists in the server. For this I would need to create a fakeclient in the T team for just a moment, but I don't want it to show up in the scoreboard.
__________________
Sig(h)!
Obbin is offline
Nostrodamous
BANNED
Join Date: Oct 2006
Old 11-03-2006 , 12:07   Re: Create a 'hidden' bot
Reply With Quote #12

hmmm , there has to be a way to make the program "think" that there is a terrorist . maybee adding and removing a bot while executing message?
Nostrodamous is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 11-03-2006 , 12:09   Re: Create a 'hidden' bot
Reply With Quote #13

Quote:
Originally Posted by Nostrodamous View Post
hmmm , there has to be a way to make the program "think" that there is a terrorist . maybee adding and removing a bot while executing message?
That's what i just wrote.

I can do that, but I don't want it to show up/flash in the scoreboard.
__________________
Sig(h)!
Obbin is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-03-2006 , 13:04   Re: Create a 'hidden' bot
Reply With Quote #14

Obbin, there are the more efficient way, check this post http://forums.alliedmods.net/showthr...588#post397588
Tell me if you need some explanations.
VEN is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 11-03-2006 , 13:45   Re: Create a 'hidden' bot
Reply With Quote #15

I tried that, but it dosn't seem to work :S

This one isn't working
Code:
public colorshit(id) {     new CsTeams:team = cs_get_user_team(id)     if (team==CS_TEAM_T)     {         cs_set_user_team(id,CS_TEAM_CT)             if(is_user_connected(id))         {             message_begin(MSG_ONE, SayText, {0, 0, 0}, id);             write_byte(id);             write_string("^x03 Test");             message_end();         }         cs_set_user_team(id,CS_TEAM_T)     }     else     {         cs_set_user_team(id,CS_TEAM_T)             if(is_user_connected(id))         {             message_begin(MSG_ONE, SayText, {0, 0, 0}, id);             write_byte(id);             write_string("^x03 Test");             message_end();         }         cs_set_user_team(id,CS_TEAM_CT)     }     return PLUGIN_HANDLED }
__________________
Sig(h)!
Obbin is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-03-2006 , 13:50   Re: Create a 'hidden' bot
Reply With Quote #16

If you didn't get i linked on the pre-last post of the thread, read it.
VEN 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 20:56.


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