Tool Item

Project Cars
Updated 7 months ago · v1.1.4

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
    }
}
Was this page helpful?
This page was last updated on 8 July 2025
DIRKSCRIPTS
All you need for your FiveM server.10% off your first order

Unsubscribe any time.

Copyright © 2026 DirkScripts. Not affiliated with or endorsed by Rockstar North or Take-Two Interactive.