Is it possible to use default interiors multiple times?
#1

Hey, can I use default interiors more then once? Like more then one enter/exit point for a interior, usually if I do it the enter/exit point gets mixed up, is there a way to avoid this?
Reply
#2

I didn't quite understand what you said. Would you mind to explain it again (in details)?
Reply
#3

Yes, you can use Virtual Worlds. When a player enters a specific place, set his Virtual World to a different Virtual World to other interiors, so that person doesn't see other people.

Konstantinos, he means, when you do /enter for example at an LV building, and an LS building has the same interior, and someone else does /enter at the LS building, they'll be teleported into the same place.
Reply
#4

Yea sure, you know the default interiors by Rockstar Games right? For example the MadDog mansion or the Binco clothe sop. Now I want to use those interiors more then once, so most of the problem is exit of the interior, once I have 2 exit points for 2 different locations it will mix up.
Reply
#5

Quote:
Originally Posted by DanishHaq
View Post
Yes, you can use Virtual Worlds. When a player enters a specific place, set his Virtual World to a different Virtual World to other interiors, so that person doesn't see other people.

Konstantinos, he means, when you do /enter for example at an LV building, and an LS building has the same interior, and someone else does /enter at the LS building, they'll be teleported into the same place.
I think he meant something else.

Quote:
Originally Posted by TonyII
View Post
Yea sure, you know the default interiors by Rockstar Games right? For example the MadDog mansion or the Binco clothe sop. Now I want to use those interiors more then once, so most of the problem is exit of the interior, once I have 2 exit points for 2 different locations it will mix up.
Yes, I do. Interiors can be used as many times as you want, there's not problem on that.

Can you show us the code that it gets mixed up?
Reply
#6

Quote:
Originally Posted by DanishHaq
View Post
Yes, you can use Virtual Worlds. When a player enters a specific place, set his Virtual World to a different Virtual World to other interiors, so that person doesn't see other people.

Konstantinos, he means, when you do /enter for example at an LV building, and an LS building has the same interior, and someone else does /enter at the LS building, they'll be teleported into the same place.
Quote:
Originally Posted by Konstantinos
View Post
I think he meant something else.



Yes, I do. Interiors can be used as many times as you want, there's not problem on that.

Can you show us the code that it gets mixed up?
DanishHaq got it right, but I still wonder if the exit will mix up with the other locations the enter points has been set to?
Reply
#7

Quote:
Originally Posted by Konstantinos
View Post
I think he meant something else.
No, I'm sure he meant exactly what I said.

_________________________

And, on the /exit, just as you would do with /enter, you can use

pawn Code:
if(GetPlayerVirtualWorld(playerid) == X)
Then it will teleport him to that same place where he did /enter. That's the way they won't get mixed up, the same way most Roleplay scripters use.
Reply
#8

Alright, I got my answer, thank you both
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)