🟦sam.Player.ban

sam.Player.ban( player ply, (optional) number length = 0, (optional) string reason = "none", (optional) string admin_steamid64 )

Description

Ban a player.

Aguments

  1. player ply

  2. (optional) number length = 0

    length is in minutes, 0 = indefinitely

  3. (optional) string reason = "none"

    default reason is in languages folder.

  4. (optional) string admin_steamid64

    default will be Console's SteamID64.

Last updated