SA-MP Forums Archive
Interiors and virtual worlds question - 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: Interiors and virtual worlds question (/showthread.php?tid=570594)



Interiors and virtual worlds question - MasonPlay - 11.04.2015

My question is about interiors, I'm not really sure how to explain it properly. So i have an garage interior, custom map, but this garage is going to be bought by a player and that player is going to own it. But if another player buys the same size garage with the same interior, will they meet in the same garage when they are both entering it?
Setting virtual world to each garage interior will avoid that problem ?


Re: Interiors and virtual worlds question - Puppy - 11.04.2015

Yes setting them their own virtual world's should do the trick - however you'll need to make sure you also set the player's vehicle(if applicable) to the same world.


Re: Interiors and virtual worlds question - R0 - 11.04.2015

Yes if you keep the virtual world the same they will see eachothers,use SetPlayerVirtualWorld and set a world id to each garage and also change vehicles virtual world to avoid letting other players see other payers cars in their garage


Re: Interiors and virtual worlds question - MasonPlay - 11.04.2015

Thank you, now I know.