Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.darkrp.teamBanTimeLeft

S๐Ÿท๏ธ Darkrp

Part of StarfallEx namespace

๐Ÿ”— External
darkrp.teamBanTimeLeft(ply, team)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:947
๐Ÿ“‹ 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

NameTypeDescription
plyPlayerThe player
team?numberThe number of the job (e.g. TEAM_MEDIC). Uses the player's team if nil.

Returns

TypeDescription
numberThe 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.