SA-MP Forums Archive
Help with Virtual Worlds - 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: Help with Virtual Worlds (/showthread.php?tid=434575)



Help with Virtual Worlds - [DX]Aru12345 - 03.05.2013

Hello.
I am making a GM with mini games. Each mini game is in LS airport but they have different objects and vehicals. But when I enter a mini game (for eg /mini gun) all the objects gets combined and even a player who didn't type / mini can see them. I know that I can use Virtual worlds. But how to make objects go in virtual worlds?. Like I wantmmini guns objects in Virtual world 1, some other mini game in virtual world 2 and etc. I use MTA to map. I use converterffs to convert map objects. But can I converts to CteateObject. I think for virtual worlds we need CreateDynamicObject right? Is there any convertor that can convert into dynamic object.?


Re: Help with Virtual Worlds - Jstylezzz - 03.05.2013

If you use a streamer, there is a virtual world parameter. Check the streamer's 'CreateDynamicObject' parameters in the release thread. All you have to do then, is set the virtualworld for the player (SetPlayerVirtualWorld), and the virtual world parameter in the CreateDynamicObject code, and you're done