PHP Code:
public OnPostThink(client)
{
if (GetClientTeam(client) != 3)
{
return;
}
new GroundEnt = GetEntPropEnt(client, Prop_Send, "m_hGroundEntity");
if ((GroundEnt > 0) && (GroundEnt <= MaxClients))
{
SetEntPropEnt(client, Prop_Send, "m_hGroundEntity", 0);
}
}
ct are team 3 and t are team 2.
only thing is if you're playing zombiemod or zombie reloaded humans on terrorist won't be able to stack until the 1st zombie spawns. you could probably stick another condition in the 1st if statement to check if the 1st zombie has spawned.
np kyle, thats why i stuck them up, i knew someone would find them useful.