Part of StarfallEx namespace
๐ External
darkrp.teamBanTimeLeft(ply, team)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Returns the time left on a player's team ban. DarkRP only. Only works if the player is the owner of the chip, or if the chip is running in superuser mode.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | The player |
team? | number | The number of the job (e.g. TEAM_MEDIC). Uses the player's team if nil. |
Returns
| Type | Description |
|---|---|
number | The time left on the team ban in seconds, or nil if not banned. |
Examples
No examples available.
Used In
No usages found in the codebase.