Exports

Client Exports

-- Is Player in the game
---@return boolean
exports["fast-paintball"]:inZone()

🔧 Using ox_inventory? Read this! Inside the ox_inventory/modules/weapon/client.lua file, you’ll find the function Weapon.Disarm(currentWeapon, noAnim) function.

If you want to use this function in your own script, you can simply add your custom code right below it.

This function safely removes the weapon from the player's hand. It can be used with or without an animation — depending on your needs.

Example Usage

if exports["fast-paintball"]:inZone() then return end

Last updated