description |
---|
Which shell will it be? |
- Handles all the logic for spawning shell models by exporting functions that can be called in other client-side files
{% hint style="success" %} This resource requires no configuration unless you want to add more exports {% endhint %}
{% hint style="info" %} The below pdf file shows which shell models come by default {% endhint %}
{% file src="../.gitbook/assets/k4mb1shellstarter.pdf" %}
{% hint style="success" %} Optionally, this resource comes pre-configured for all of K4MB1 shells! {% endhint %}
RegisterCommand('spawnshell', function()
local ped = PlayerPedId()
local coords = GetEntityCoords(ped)
local shell = exports['qb-interior']:CreateApartmentShell(coords)
end)