2023-12-08, 03:10 PM
In order to attach an object to a specific virtual world; you need to use an object streamer plugin.
The most familiar one is called "Incognitos Streamer Plugin"
Then when you create an object, you can set the virtual world you want it to render at by setting it in the CreateDynamicObject call;
By setting worldid to something else than -1. -1 means "all worlds", and a value 0 --> will link it to that worldid only.
The most familiar one is called "Incognitos Streamer Plugin"
Then when you create an object, you can set the virtual world you want it to render at by setting it in the CreateDynamicObject call;
PHP Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 0)
By setting worldid to something else than -1. -1 means "all worlds", and a value 0 --> will link it to that worldid only.