Skip to content

function isPlayerStreamed (client-side)

Available since version: 0.3.0

This function will check whether a player or client NPC is spawned into the world.

Declaration

boolean|nil isPlayerStreamed(number player_id)

Parameters

  • number player_id: Target player or client NPC id.

Returns boolean|nil

True when spawned, false when known but not spawned, nil if unknown.