From DarkRP
Jump to navigation Jump to search
Function name Player:teamBan(number team, number time)
Ban someone from getting a certain job.
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=]Player:teamBan[/url][/b]

Function parameters[edit]

  1. team (number)
  2. the number of the job (e.g. TEAM_MEDIC).

  3. time (number) (optional)
  4. For how long the player is banned from this job.

Function return values[edit]

This function does not return any value.