πŸ”«Weapon Cleaning Animation

⚑ Getting Started

Be sure to read the README file for full setup instructions!


βž• Cleaning a Weapon

You can clean a weapon with any of these methods:

With an Inventory Item

Use the item "gunoil" or any other defined in your inventory system.

Client-side Event

TriggerEvent("Botiv:cleanWeapon")

Command (if enabled)

Type in chat:

/cleanwp

Server-side Event

TriggerClientEvent("Botiv:cleanWeapon", source)

Inventory Integration Examples

VORP Example

RedEM Example


βš™οΈ Configuration Example (config.lua)

Note: If you want to trigger cleaning with your own system, remove lines 14-28 from client.lua to disable the default triggers.


πŸ“Œ Notes

  • Flexible Cleaning: Weapons can be cleaned via inventory item, command, client/server events, or direct integration.

  • Configurable: Change the command name, event, or disable automatic triggers easily in config.lua.

  • Supports VORP & RedEM: Examples for both major RedM inventory frameworks.

  • No restart needed: Any change to config.lua is applied instantly on resource restart.

  • Multilingual: Interface and prompts can be adapted to your language.

Last updated