Raised This Month: $ Target: $400
 0% 

I make a faketeambot change his name but..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hzqst
Senior Member
Join Date: Jul 2008
Old 01-11-2009 , 01:13   I make a faketeambot change his name but..
Reply With Quote #1

I make a faketeambot change his name but doesnt work
===change name:===
Quote:
if(pev_valid(g_tbot))
client_cmd(g_tbot, "name %s", team_names[1])
Quote:
new const team_names[][] = {
"=== CT Team ===",
"=== Terrorist Team ==="
}

Quote:
if(!is_user_connected(g_tbot)){
g_tbot = engfunc(EngFunc_CreateFakeClient, team_names[3])
new ptr[128]
dllfunc(DLLFunc_ClientConnect, g_tbot, team_names[0], "127.0.0.1", ptr )
dllfunc(DLLFunc_ClientPutInServer, g_tbot)
fm_set_user_team(g_tbot, CS_TEAM_T)
}
is there a native i can change bots' names?
hzqst is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 01-11-2009 , 01:42   Re: I make a faketeambot change his name but..
Reply With Quote #2

try to use set_user_info
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
hzqst
Senior Member
Join Date: Jul 2008
Old 01-11-2009 , 04:35   Re: I make a faketeambot change his name but..
Reply With Quote #3

thx
Quote:
engfunc(EngFunc_SetClientKeyValue, g_tbot, engfunc(EngFunc_GetInfoKeyBuffer, g_tbot), "name", team_names[1])
hzqst 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:42.


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