Posts: 353
Threads: 18
Joined: May 2013
Reputation:
0
You mean same interior for different houses?
Posts: 93
Threads: 25
Joined: Jan 2016
Reputation:
0
When i enter a house and player enter a different house with the same interior we can see each other, how can i make each house a different world?
Posts: 353
Threads: 18
Joined: May 2013
Reputation:
0
Just choose different world when you are creating the house? Or change its world from house files.
Posts: 93
Threads: 25
Joined: Jan 2016
Reputation:
0
There is but it doesnt work properly, when i enter a house i can see other player in the same virtual world
I will try what you wrote
Posts: 353
Threads: 18
Joined: May 2013
Reputation:
0
I just red the PPC Housing script. The SetPlayerVirtualWorld in that is:
SetPlayerVirtualWorld(playerid, 5000 + HouseID);
Well, There is also a possibility if the houses have same ID the players will go in same Virtual World.
Posts: 90
Threads: 11
Joined: Apr 2014
Reputation:
0
what you can do is that set the virtual world of the house based on the primary key used to store the house in the database
example
i have 5 houses, and each each with HouseID 1,2,3,4,5
now when i enter the house , i can set the player's virtual world to the HouseID
that is for house number 1, the virtual world would be 1 , for 2 it will be 2 and so on.
Hence solving your problem