Props

Customizing Prop Animations

Some clothing items in the Clothing Menu are treated as "props" – accessories like hats, glasses, and watches. You can customize the animations that play when a player equips or removes these props using the Config.props table.

Changing Prop Animations

  1. Locate the Prop: In the Config.props table, find the entry for the prop you want to change.

  2. Choose from Existing Animations: Select the desired animations from the ones defined in your Config.animations table.

  3. Replace Animation Names ONLY: Do not modify the prop number. Change the values of on and off within the animation table to match the names of the chosen animations from Config.animations.

  4. Save and Restart: Save your configuration file and restart your FiveM server if necessary.

Example:

To change the animation for equipping a hat to put_on_hat (assuming you have defined it in Config.animations), modify the configuration like so:

['hat'] = {
    prop = 0,  -- Do not change this value
    animation = {
        on = 'put_on_hat',  -- New animation for equipping (from Config.animations)
        off = 'hatOff' 
    }
},

Key Points:

  • Only modify animation names: The prop numbers are essential and should not be changed.

  • Use existing animations: The animation names used in Config.props must already be defined in your Config.animations table.

Last updated