Skip to content

function spawnPlayer (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 spawn the player.
Players are always in unspawned state after joining to server or after respawning.

Declaration

void spawnPlayer(int id)

Parameters

  • int id: the player id.