🟦sam.Player.kick_id

sam.Player.kick_id( string id, (optional) string reason = "none" )

Description

Kicks a player from the server using his UserID or SteamID. This can be ran before the player has spawned.

reason has max length of 400.

Aguments

  1. (optional) string reason = "none"

Example

sam.Player.kick_id("STEAM_0:0:150794857", "Go away, you are not allowed to join.")

Last updated