Code:
if (strstr(bot_kill[kill_index], "%s") != NULL) // is "%s" in whine text?
sprintf(msg, bot_kill[kill_index]/*, STRING(pBot->pBotEnemy->v.netname)*/);
I use this code to let the bot chat , but the "pBot->pBotEnemy->v.netname"
is causing crash ! Anyone know why this happen ?
and btw , I'm using STEAM cs1.6