Skip to content

function getPlayerWorld (server-side)

Available since version: 0.3.0

Get the current world name for a player or nil if player missing.

Declaration

string|nil getPlayerWorld(int player_id)

Parameters

  • int player_id: Target player id.

Returns string|nil

World name or nil.