Skip to content

function getPlayerWorld (server-side)

Available since version: 0.0.4

This function will get the player/npc world.

Declaration

string|null getPlayerWorld(int id)

Parameters

  • int id: the player id.

Returns string|null

the player world or null if player isn't created.