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
Locate the Prop: In the
Config.propstable, find the entry for the prop you want to change.Choose from Existing Animations: Select the desired animations from the ones defined in your
Config.animationstable.Replace Animation Names ONLY: Do not modify the
propnumber. Change the values ofonandoffwithin theanimationtable to match the names of the chosen animations fromConfig.animations.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
propnumbers are essential and should not be changed.Use existing animations: The animation names used in
Config.propsmust already be defined in yourConfig.animationstable.
Last updated