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?