Skip to content

function unspawnPlayer (server-side)

Available since version: 0.0.1

Note

Unspawned players can't see other players, items, etc. and are invisible for others.

This function will unspawn the player.

Declaration

void unspawnPlayer(int id)

Parameters

  • int id: the player id.