10.01.2014, 00:18
Download SA:MP map editor as it is much better to learn to use than MTA editor. Link here: https://sampforum.blast.hk/showthread.php?tid=282801
You will need to create your interior using objects, I recommend building them around 1000-1300 Z (height axis).
After you have built your interior, go into the interior using the "Test" function and /save where you want the entrace to be. Do this again outside the interior where you want players to enter. After that, get the 2 different positions and make a command to enter them. You will need to use IsPlayerInRangeOfPoint to see if a player is near the door, and use SetPlayerPos (change the players location to the inside door) and SetPlayerVirtualWorld if you want them to be in a different virtual world. Using Incognito's Streamer you can also create the objects in a different interior and use SetPlayerInterior so they see those objects. Don't forget to create all the mapped objects inside OnGameModeInit!
You will need to create your interior using objects, I recommend building them around 1000-1300 Z (height axis).
After you have built your interior, go into the interior using the "Test" function and /save where you want the entrace to be. Do this again outside the interior where you want players to enter. After that, get the 2 different positions and make a command to enter them. You will need to use IsPlayerInRangeOfPoint to see if a player is near the door, and use SetPlayerPos (change the players location to the inside door) and SetPlayerVirtualWorld if you want them to be in a different virtual world. Using Incognito's Streamer you can also create the objects in a different interior and use SetPlayerInterior so they see those objects. Don't forget to create all the mapped objects inside OnGameModeInit!