⚙️Configuration
Adding additional slot for player
Within your config , you'll use the Slots
table to define licenses or permissions and their associated limits. Let's look at an example:
In the above example, we've defined a license named "license:". This license allows up to 5 usages or instances of the associated feature.
qbox framework: If you're integrating the qbox framework into your project, licenses are categorized as "license2". This is in contrast to the "license" key used in the qbcore framework.
qbcore framework: For the qbcore framework, a license named "license:" can be used, which permits a specified number of usages for the associated functionality.
esx framework: Same with qbcore framework, unless you changed your config in es_extended
Adding new spawn location
The SpawnLocations
table is used to define different spawn points, each associated with a unique identifier. Here's an example of how spawn locations are defined:
In this example:
'legion'
is the identifier for this spawn locationIT MUST BE UNIQUE.
coords
is a vector4 that specifies the x, y, z coordinates and rotation for the spawn point.label
is a descriptive label for the spawn location (e.g., "Legion Square").image
is a URL linking to an image that represents the spawn location.
Last updated