FiveM Shell vs MLO: What Is the Difference?
A FiveM shell is a separate interior model that a housing script spawns under the map when a player enters a property, while an MLO is an interior placed on the real map at fixed coordinates. Shells suit buyable houses and apartments that many properties share. MLOs suit one fixed building you walk into from the street. The FiveMRides Shell Studio makes shells today; MLO export is not available yet.
- Shell: a model spawned by a housing script, usually well under the map, when someone enters. The property you buy can be anywhere, and the same shell can serve many properties.
- MLO: an interior that sits on the real map at fixed coordinates, with rooms and portals. You walk in through a real door on the street.
- Housing scripts: ps-housing, qb-houses, qbx_properties, esx_property and similar scripts use shells for the properties players buy.
- Shell Studio: housing shells today. MLO export is not available yet.
What is the difference between a shell and an MLO?
| Shell | MLO | |
|---|---|---|
| Where it appears | Nowhere permanently. A housing script spawns it under the map when someone enters (ps-housing 25 m, qb-houses 30 m, qbx_properties 50 m below the property door) | On the real map, at the coordinates it was built for, all the time |
| How players get in | Through the door of the property you placed with the housing script, then the script moves them into the shell | Through a real door in the world, no teleport |
| Reuse | One shell model can be used by many properties | One building at one place |
| Who handles buying and keys | The housing script | Your own scripts, or a housing script that supports MLO properties |
| Typical use | Houses, apartments, motels, offices that players buy or rent | A police station, a hospital, a shop or a bar on a fixed lot |
Which one should I use?
- You want players to buy or rent a house or an apartment, and you do not want to find a free lot for each one: use a shell.
- You want a building at one fixed, visible place in the city: an MLO fits, and a shell can also sit behind a normal door that teleports players in.
What does the Shell Studio make?
The Shell Studio makes housing shells: you design the rooms in the browser and export a resource with the model, the collision, scripted interior doors, and configs for housing scripts. MLO export is not available yet. Check the Shell Studio page for news before you plan around it.
Frequently asked questions
What is a FiveM shell?
A shell is an interior model without a building around it. A housing script spawns it under the map when a player enters a property, moves the player inside, and removes it when the player leaves.
What is an MLO in FiveM?
An MLO is an interior that is part of the map at fixed coordinates. It has rooms and portals so the game draws only what a player can see, and players walk in through a real door.
Does the Shell Studio export MLOs?
Not yet. It exports housing shells. MLO export is planned for later and is not available now.
Can the same shell be used for many houses?
Yes. The housing script spawns the same model for each property when a player enters, so one shell can serve many properties.
Where do I see the shell on the map?
You do not. A shell is only there while someone is inside. You place the property with your housing script as usual. To look inside before you wire it up, type /shelltest with the shell name.
Which housing scripts work with shells?
There are configs for ps-housing, qb-houses, qbx_properties, esx_property, bcs_housing and loaf_housing, plus shell.json for any other script. ps-housing and esx_property are tested in game.