Garry's Mod Wiki

Player:Ban

Player:Ban

  Player:Ban( number minutes, boolean kick = false )

Description

Bans the player from the server for a certain amount of minutes.

Arguments

1 number minutes
Duration of the ban in minutes (0 is permanent)
2 boolean kick = false
Whether to kick the player after banning them or not

Example

Kicks and bans the player for a day.

Entity( 1 ):Ban( 1440, true )

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6