Functions/Player/Server/teamBanTimeLeft

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:teamBanTimeLeft(number team)
Description:
Returns the time left on a player's teamban.
Returns: number time
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/teamBanTimeLeft]Player:teamBanTimeLeft[/url][/b]

Function parameters

  1. team (number) (optional)
  2. the number of the job (e.g. TEAM_MEDIC). Uses the player's team if not defined.


Function return values

  1. time (number)
  2. The time left on the teamban in seconds.