From DarkRP
Jump to navigation Jump to search
Function name Player:teamBanTimeLeft(number team)
Returns the time left on a player's teamban.
Returns: number time
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=]Player:teamBanTimeLeft[/url][/b]

Function parameters[edit]

  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[edit]

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