Skip to content

function getSpawnedPlayersForPlayer (server-side)

Available since version: 0.3.0

Get the list of players that have been spawned for the given player.

Declaration

{...} getSpawnedPlayersForPlayer(int player_id)

Parameters

  • int player_id: Target player id.

Returns {...}

Array of player ids.