FOR_EACH_CLIENT(e)
{
if(e.spawned && e.classname == "player")
- e.movetype = MOVETYPE_NONE;
- e.velocity = '0 0 0';
- e.avelocity = '0 0 0';
- e.movement = '0 0 0';
+ e.player_blocked = 1;
}
}
}
}
if(g_arena) {
- FOR_EACH_PLAYER(e)
+ FOR_EACH_CLIENT(e)
{
- if(e.health > 0 && e.movetype == MOVETYPE_NONE)
- e.movetype = MOVETYPE_WALK;
+ if(e.player_blocked)
+ e.player_blocked = 0;
}
}
}
*/
void Spawnqueue_Check()
{
- if(warmup == 0 && g_ca)
+ if(warmup == 0 && g_ca && !inWarmupStage)
{
if(red_players || blue_players)
reset_map(TRUE);