Posts: 89
Threads: 19
Joined: Jul 2010
Reputation:
0
Hy everyone. Who can help me learn to use virtualworld to make more houses with same interior. Thank you all.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Depends on the house system. If the houses have an actual id, you can set players virtual world to that id.
When they want to exit again, you can retrieve the house id by using GetPlayerVirtualWorld to set them to the right exit.
Posts: 89
Threads: 19
Joined: Jul 2010
Reputation:
0
I don't know if the houses have an actual id. I didn't know nothing about virtual world and how i can use this system. Please, someone can help me?
PS : Sorry for my bad english.
Posts: 89
Threads: 19
Joined: Jul 2010
Reputation:
0
I read some topics about virtualworld, but I can't found the answer of my problem. So can help me someone? Sorry for double post.
Posts: 190
Threads: 17
Joined: Jul 2010
Reputation:
0
On the /enter there might be a line like this -
for(new i = 0; i < sizeof(Houses); i++)
then when he enters just add SetPlayerVirtualWorld(playerid,i);
and when he exits, set the virtualworld back to 0 by setting his vir world to i means that his virtual world will be the houses ID