🟦sam.Player.ban_id

sam.Player.ban_id( string steamid64, (optional) number length = 0, (optional) string reason = "none", (optional) string admin_steamid64 )

Description

Ban a player using his SteamID64.

If the player is in the server then it fallbacks to sam.Player.ban

Aguments

  1. string steamid64

  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