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(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 0