DirkScripts Logo

Login With FiveM

Login

πŸ”§ Project Cars
β€Ί
Types
β€Ί

Tool Item

Tool Item

πŸ“„ Fields:

FieldTypeRequiredDescription
labelstringβœ…Display name of the item.
weightintegerβœ…Weight in grams (e.g. 1000 = 1kg).
descriptionstringβœ…Description text shown in item UI.
chanceOfBreakinteger❌Percent chance (0–100) the tool breaks on use.
holdRotationvector3❌Adjusts the rotation of the held object.
holdOffsetvector3❌Adjusts the position offset when held.
modelstring❌Model name of the object to hold (e.g. "prop_tool_box_04").
useablefunction❌Function to execute when the item is used.
strengthinteger❌Max supported vehicle weight (in grams). Limits what vehicles this item works on.

πŸ’‘ Example

lua
tools = {
    wrench = {
        label         = "Wrench",
        weight        = 1000,
        description   = "A sturdy wrench for basic repairs.",
        chanceOfBreak = 25, -- 25% chance of breaking
        holdRotation  = vector3(90.0, 0.0, 0.0),
        holdOffset    = vector3(0.0, -0.15, -0.02),
        model         = "prop_tool_wrench",
        strength      = 2000,
        useable       = function(src)
            -- custom usage logic here
        end
    }
}

Copyright Β© 2026 DirkScripts.

Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than GBP are approximate conversions updated daily. All purchases are processed in GBP, so the final amount charged may vary depending on your bank or payment provider’s exchange rate.