Re: The Bots SteamId? -
06-07-2004
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.
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|