Quote:
Originally Posted by Pierre-Marie Baty
Add a field in the bot_t structure
char steamid[32];
once the bot gets attributed a name in BotCreate(), fill up this bot's steamid as well
strcpy (pBot->steamid, "0123456789");
Make sure you give this bot the right steamid that is associated with its name
then for each pfnGetPlayerAuthId() call, do a
RETURN_META (MRES_SUPERCEDE, bots[INDEXENT (edict) - 1].steamid);
in my opinion that should work.
|
I'll try that but I just found out if the id is BOT it does work for stats but the issue comes up where it's not basing the id on name so that's still a problem. i'll try this.