Skip to content

function getPlayerVirtualWorld (server-side)

Available since version: 0.1.2

This function will get the player/npc virtual world.

Declaration

int|null getPlayerVirtualWorld(int id)

Parameters

  • int id: the player id.

Returns int|null

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