Skip to content

function kick (server-side)

Available since version: 0.0.4

Note

The reason string can't be longer than 255 characters.

This function will kick the player from the server.

Declaration

void kick(int id, string reason)

Parameters

  • int id: the player id.
  • string reason: ="" the reason why player was kicked.