Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Setting Props

Nick Perry edited this page Dec 5, 2020 · 1 revision

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

Clone this wiki locally