SA-MP Forums Archive
Virtual world - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Virtual world (/showthread.php?tid=650095)



Virtual world - Ilias_ - 20.02.2018

how to set a map in a virtual world?


Re: Virtual world - DTV - 20.02.2018

Use Streamer and set the object to appear in the virtual world you want ("worldid" in CreateDynamicObject parameters) and set the player's virtual world so that the objects and player have the same virtual world.


Re: Virtual world - Ilias_ - 20.02.2018

Quote:
Originally Posted by DTV
Посмотреть сообщение
Use Streamer and set the object to appear in the virtual world you want ("worldid" in CreateDynamicObject parameters) and set the player's virtual world so that the objects and player have the same virtual world.
Can you give me an example?


Re: Virtual world - Mugala - 20.02.2018

Quote:
Originally Posted by Ilias_
Посмотреть сообщение
Can you give me an example?
PHP код:
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, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0)