Setting Props - nick-perry14/esx_adminmode GitHub Wiki
Configuration format
The line in your configuration file should look like this:
pedprop = {{component=0,texture=2,color=2,attach=true},{component=0,texture=0,color=1,attach=true}},
Variable Names
- component - The ID of the prop you want to change (hat/helmet, glasses, etc.)
- texture - The ID of the texture you want to set (the specific model of the component) SUBTRACT 1 FROM THE ID YOU USE, SET 0 FOR REMOVED
- color - the color/variation of the model (start from 1)
- attach - Whether or not the prop can come off after being hit, falling, etc. Set true for prop to be attached to ped.
Component Guide
The following numbers should be used for the component ID when changing the component:
- Hat / Helmet: 0
- Glasses: 1
- Ear Accessories (Misc): 2
- Watch: 6