SA-MP Forums Archive
/enterhouse.((virtualworld)) - 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: /enterhouse.((virtualworld)) (/showthread.php?tid=369109)



/enterhouse.((virtualworld)) - TaLhA XIV - 15.08.2012

Hello,
I am working on a house system,just wanted to ask that if a player do /enterhouse,how can I spawn people in deiffrent virtual worlds.


Re: /enterhouse.((virtualworld)) - Kindred - 15.08.2012

https://sampwiki.blast.hk/wiki/SetPlayerVirtualWorld


Re: /enterhouse.((virtualworld)) - TaLhA XIV - 15.08.2012

You did not read my post carefully,I want ppl to spawn in random virtual world but not the same.


Re: /enterhouse.((virtualworld)) - SaYrOn - 15.08.2012

You want people to enter the same house, but to get into different virtual worlds?


Re: /enterhouse.((virtualworld)) - TaLhA XIV - 15.08.2012

yes you got it.


Re: /enterhouse.((virtualworld)) - SaYrOn - 15.08.2012

Oh, well, thats weird, but okay. You can just assign his virtual world to his playerid:
Код:
SetPlayerVirtualWorld(playerid,playerid);