Part of TPG namespace
TPG.Protection.IsInEnemySafezone(ply)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Is ply inside the ENEMY team's safezone? Off a team, or the enemy's spawn not published yet, returns false (there's nothing to be "in"). Used by the protection Think loop to kill loitering players; unlike IsInSafezone, this is never a state a player should passively sit in.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player |
Returns
| Type | Description |
|---|---|
boolean |
Examples
No examples available.
Used In
No usages found in the codebase.