thanks, i got it all working the #defines were part of the problem. Now ive noticed another small problem, when i check the team using the class it ignores the dead players. I dont want it to ignore them.
check for alien team using the class. This is the way i have it for aliens.
Code:
if (c == CLASS_SKULK || c == CLASS_GORGE || c == CLASS_LERK || c == CLASS_FADE || c == CLASS_ONOS || c == CLASS_GESTATE) //alien team check
check for team using get_user_team function
Code:
if( get_user_team( i ) == 2 ) //alien team check
if i change it to == 1 it works for mairines so im guessing 2 isnt the alien team number?!
any ideas how to keep it from ignoring the dead players?