> For the complete documentation index, see [llms.txt](https://pugdocuments.gitbook.io/pug-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pugdocuments.gitbook.io/pug-development/scripts/weapon-sling/installation.md).

# Installation

## Script Download

{% stepper %}
{% step %}

### Log Into CFX Portal

[CFX Portal](https://portal.cfx.re/assets/granted-assets)
{% endstep %}

{% step %}

### Granted Assets

Navigate to the **assets** page to find the resource.
{% endstep %}
{% endstepper %}

## Script Setup

{% stepper %}
{% step %}

### Updated Commands&#x20;

If you are using **illenium-appearance** make sure to head to **illenium-appearance/server/server.lua** and replace these commands with these.

<pre class="language-lua"><code class="lang-lua">lib.addCommand("cl<a data-footnote-ref href="#user-content-fn-1">e</a>arstuckprops", { help = _L("commands.clearstuckprops.title") }, function(source)
    local src = source
    TriggerClientEvent("illenium-appearance:client:ClearStuckProps", src)
    Wait(500)
    TriggerClientEvent("Pug:ReloadGuns:sling", src)
end)
</code></pre>

```lua
lib.addCommand("reloadskin", { help = _L("commands.reloadskin.title") }, function(source)
    local src = source
    TriggerClientEvent("illenium-appearance:client:reloadSkin", src)
    Wait(500)
    TriggerClientEvent("Pug:ReloadGuns:sling", src)
end)
```

{% endstep %}

{% step %}

### Setup Complete&#x20;

Ensure the script and it will work perfectly as intended.
{% endstep %}
{% endstepper %}

## Additional Information

You can run this event to clear stuck items on player without removing sling items.

```lua
TriggerEvent("Pug:ReloadGuns:sling")
```

## [Script Support & Dependencies](/pug-development/scripts/weapon-sling/dependency-and-support.md)

[^1]:
