pedr0fontoura / fivem-appearance

👀 A flexible player customization script for FiveM.
https://forum.cfx.re/t/release-fivem-appearance/2438537
MIT License
120 stars 72 forks source link

setComponets problem #58

Closed s0u007 closed 2 years ago

s0u007 commented 2 years ago

Hi it is me one more time can you help me with this issue ? exports['fivem-appearance']:setPedAppearance(PlayerPedId(), {texture=0,drawable=0,component_id=0},{texture=0,drawable=0,component_id=1},{texture=0,drawable=0,component_id=2},{texture=0,drawable=15,component_id=3},{texture=0,drawable=14,component_id=4},{texture=0,drawable=0,component_id=5},{texture=0,drawable=5,component_id=6},{texture=0,drawable=0,component_id=7},{texture=0,drawable=15,component_id=8},{texture=0,drawable=0,component_id=9},{texture=0,drawable=0,component_id=10},{texture=0,drawable=91,component_id=11})

I want to use this export but noting is changing with character what can I do ?

franfdezmorales commented 2 years ago

Hey @s0u007, the function expects only two parameters, the ped id and the PedAppearance object that must include all these keys:

You need to change your seconds parameter and fill with that above.