sPlOrYgOn, remember I started a thread talking about using "kick bot" would disable lots of features of amx? and you said that this had happened to you.
When I was looking at the FakeFull (from OLO) code last night, I noticed FF uses different method to kick bots and that would not affect anything of AMX. I tried to use that on PB, but I failed...
Here is the code
PB
Code:
sprintf (cmd, "kick \"%s\"\n", STRING (bots[i].pEdict->v.netname));
SERVER_COMMAND (cmd); // kick the bot using (kick "name")
FF
Code:
Void RemoveFakeClient() {
...
SERVER_COMMAND(UTIL_VarArgs("kick \"%s\"\n",STRING(pFake->pEdict->v.netname)));
...
}
char* UTIL_VarArgs(char *format, ...) {
va_list argptr;
static char string[1024];
va_start (argptr, format);
vsprintf (string, format, argptr);
va_end (argptr);
return string;
}
I don't if this is the reason caused the problem, so could you please take a look at this? Thank you very much.