ok well i figured it was this but wasnt sure.
if( Q_stricmp( cmd, "alienWin" ) == 0 )
{
int i;
gentity_t *e;
for( i = 1, e = g_entities + i; i < level.num_entities; i++, e++ )
{
if( e->s.modelindex == BA_H_SPAWN )
G_Damage( e, NULL, NULL, NULL, NULL, 10000, 0, MOD_SUICIDE );
}
for( i = 1, e = g_entities + i; i < level.num_entities; i++, e++ )
{
if( e->s.modelindex == BA_H_REPEATER )
G_Damage( e, NULL, NULL, NULL, NULL, 10000, 0, MOD_SUICIDE );
}
I added that last part about the repeaters in, hopefully it works *compiling done.
//edit worked ty
