SA-MP Forums Archive
Map new Interior [Please watch] - 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: Map new Interior [Please watch] (/showthread.php?tid=340202)



Map new Interior [Please watch] - Gertin - 06.05.2012

Hey !

I have one question for You. I wan't to ask that can i map some interior and when i enter there in one place and other people enter there other place then we don't see us. Like orginal samp interiors, when i buy house with the same interior like other guy and when we both are in our home, then we don't see us.

If you don't get, what i mean, then i explain again

Thanks for watching and all posts are welcome

PS: Sorry for my bad English.



Re: Map new Interior [Please watch] - [swat]dragon - 06.05.2012

i didnt understand what you need man..


Re: Map new Interior [Please watch] - vassilis - 06.05.2012

He wants to explain that when players are buying houses with the same interior then when they enter it,he wants them to be in different virtual world.


Re: Map new Interior [Please watch] - [D]ry[D]esert - 06.05.2012

Maybe you have to use SetPlayerVirtualWorld
for example
Код:
SetPlayerVirtualWorld(playerid,0) //For the frist House
SetPlayerVirtualWorld(playerid,1) //For the Secand House
SetPlayerVirtualWorld(playerid,2) //For the 3rd House



Re: Map new Interior [Please watch] - Gertin - 06.05.2012

Ooh, ty i forgot that code Thank you


Re: Map new Interior [Please watch] - SuperViper - 06.05.2012

Upon entering a house, set the player's virtual world to their playerid.


Re: Map new Interior [Please watch] - Verbal - 06.05.2012

Usually in my house system, I made it to be 100000 (1 Million) + The house ID.
That way there will be no conflictions and stuff like that I guess .