Skip to content

GetEntityVirtualWorld

The virtual world the entity is replicated in.

GetEntityVirtualWorld(id)
Parameter Type
id number the entity

number - the world, 0 = the shared one; nil when there is no such entity

if GetEntityVirtualWorld(id) ~= GetPlayerVirtualWorld(pid) then return end -- not where the player is

SetEntityVirtualWorld · GetPlayerVirtualWorld · the World entities group of the index