gms_admin_kick

Usage: gms_admin_kick ( player_id, reason )

Description

Forces the given player to quit the game.
'reason' is optional, and can be used to send the player a last message before getting kicked.

Warning:This function can be executed on every client, even guests. You'll need to check by using server_self_admin_rights and server_other_admin_rights whether the player is authorized to kick someone.

Replies (0)

Last message on 24 Apr 2017