Functions/Player/Server/teamBan

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:teamBan(number team, number time)
Description:
Ban someone from getting a certain job.
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/teamBan]Player:teamBan[/url][/b]

Function parameters

  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

This function does not return any value.