Garry's Mod Wiki


game.KickID( string id, string reason = "No reason given" )


Kicks a player from the server. This can be ran before the player has spawned.


1 string id
UserID or SteamID of the player to kick.
2 string reason = "No reason given"
Reason to display to the player. This can span across multiple lines.

This will be shortened to ~512 chars, though this includes the command itself and the player index so will realistically be more around ~498. It is recommended to avoid going near the limit to avoid truncation.

Page Links

Special Pages



Render Time: 32ms

DB GetPage 3
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 12