[Include] Interior Virtual World
#8

I think this would be a better way of doing it.
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    if (newinteriorid == 0)
    {
       SetPlayerVirtualWorld(playerid, 0); // Will make the player go back to the 0 VW when the new interior id is 0
    }
    else
    {
       SetPlayerVirtualWorld(playerid, (5000 + playerid)); // Will set a certain virtual world, based on the player position when he starts entering the interior.
    }
}
Reply


Messages In This Thread
Interior Virtual World - by Mattos - 23.11.2011, 23:40
Re: Interior Virtual World - by System64 - 24.11.2011, 06:20
Re: Interior Virtual World - by Mattos - 24.11.2011, 11:43
Re: Interior Virtual World - by System64 - 24.11.2011, 12:30
Re: Interior Virtual World - by Mattos - 24.11.2011, 14:29
Re: Interior Virtual World - by wups - 24.11.2011, 14:47
Re: Interior Virtual World - by Mattos - 24.11.2011, 15:14
Re: Interior Virtual World - by Psymetrix - 02.12.2011, 18:23
Re: Interior Virtual World - by KoczkaHUN - 02.12.2011, 19:32
Re: Interior Virtual World - by Mattos - 09.12.2011, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)