with this wrong id is no wonder,you use double find_entinsphere and save it on same variable(hit).use this and you see what i mean:
Code:
client_print(0,print_chat,"* You got hit by a grenade! Returning instead: %i",hit);
// run another check to see who should be hit instead of me
hit = engfunc(EngFunc_FindEntityInSphere,hit,origin,radius);
client_print(0,print_chat,"* You got hit by a grenade! Returning instead: %i",hit);
First have your id,the second the bot id.
__________________