Using one interior multiple times[HELP]
#1

I have a house made, on an interior, virtualworld 0 and interior 3 if i'm right.

Now i wanted to make some more houses around, with the same interior, but it makes me spawn at only one exit each time..(/exit)
I've try'd alot, but I really don't know how to fix this.

Is it something i should edit in the GM or something with the worlds or interiors...

Thanks in Advance.
Reply
#2

Check the player's virtual world in the /exit command if the exit positions are the same.

pawn Code:
if(IsPlayerInRangeOfPoint( ... ) //The exit position
{
   if(GetPlayerVirtualWorld(playerid) == 0)
   {
     //Do something if player's VW is 0
   }
   else if(GetPlayerVirtualWorld(playerid) == 1)
   {
     //Do something if player's VW is 1
   }
}
Reply
#3

Alright, and where do i have to place this in the GM?

And is that to be placed for every single house with same interior ID's?

ty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)