i found an issue, if someone is pinned by special infected before teleporting, maybe that one can't successfully be teleported, then leave it alone. please fix it.
i look up the code from
[L4D2]End Safearea Teleport, there is a function to fix teleport.
Code:
void TeleportFix(int client) {
if (GetEntProp(client, Prop_Send, "m_isHangingFromLedge"))
L4D_ReviveSurvivor(client);
SetEntityMoveType(client, MOVETYPE_WALK);
SetEntProp(client, Prop_Send, "m_fFlags", GetEntProp(client, Prop_Send, "m_fFlags") & ~FL_FROZEN);
SetEntProp(client, Prop_Send, "m_bDucked", 1);
SetEntProp(client, Prop_Send, "m_fFlags", GetEntProp(client, Prop_Send, "m_fFlags") | FL_DUCKING);
}