open.mp forum
[Pawn] Set Objects To Virtual World - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Set Objects To Virtual World (/showthread.php?tid=2061)



Set Objects To Virtual World - dondo - 2021-05-29

Dear community,

i think the question is clear. I want to set my 'spawn-ojects' to a virtual world so that you just see the objects when you select your skin.



Thanks!


RE: Set Objects To Virtual World - Kwarde - 2021-05-29

CreateDynamicObject():

Code:
(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)

worldid would (obviously) be the world id it's visible in.