Skip to main content

Ban

Shared
Lyn.Player.Ban(Player|boolean ply, string steamid64, number duration, string reason, string admin_steamid64)Hook

Description

Called after a player has been banned.

Params

  1. false if the player is not found

  2. string steamid64
  3. number duration

    For how long the player is banned, in seconds. If duration is 0, the player will be permanently banned.

  4. string reason
  5. string admin_steamid64