Skip to content

function unspawnPlayer (server-side)

Available since version: 0.3.0

This function will unspawn the player without disconnecting him.

Declaration

boolean unspawnPlayer(number player_id)

Parameters

  • number player_id: Player id to unspawn.

Returns boolean

True on success.