qbcore-framework / qb-core

FiveM RP Framework Core :muscle:
GNU General Public License v3.0
582 stars 962 forks source link

feat/locations: Add vanilla game mlo interiors #1076

Closed tofudeadeye closed 7 months ago

tofudeadeye commented 8 months ago

Description

This change provides a quick way to reference vanilla mlo interiors which are only accessible via teleport. It is highly recommended to use bob74_ipl to ensure that interior props are loaded. This can be useful for both developers and server admins/mods to utilise.

I have checked a significant amount of qb-* resources and it seems that most resources define their own teleport coordinates within each resource respecitively, and they do not rely on this shared configuration.

I currently use ps-adminmenu which sources its list of available teleport locations from this configuration. Instead of opening a PR within that repository, I figured it would be more beneficial for the wider to community to have it within the core framework.

Note: This is not an extensive list of all interiors, many more exist.

Checklist