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 (6)
Last message on 4 Sep 2017
Kolhun
on
31 Aug 2017, 16:19:15
Is it possible somehow to kick by clicking with the left button of the mouse standing next to a player?
Size43
(Administrator)
on
4 Sep 2017, 11:41:12
You can get the player_id of any other player object by checking the variable player_id. You could add something like this to the left mouse pressed event of the other player object:
gms_admin_kick(player_id, "Meh")
(obviously change "Meh" to whatever you want the kick reason to be)
i talk with hen and not answer me why? who´s the admin who banned me?
Size43
(Administrator)
on
1 Jul 2017, 12:22:04
I don't know. Please contact the developer of the game in which you were banned. If you are banned from Don't Forget or MYSTERYTALE, both of those games have a discord where all the moderators and the developer are. You should try asking them there.
one admin banned me why? i not did nothing
Size43
(Administrator)
on
1 Jul 2017, 09:28:17
Please contact the developer of the game in which you were banned.