I have a persistent character script, I use cops fivem, it changes my skin on mp_m_freemode_01 character (or whatever the ped model is) I select the uniform, and it switches, and the arms are invisible. I’ve been looking for the value for the long sleeve police shirt, but I had no luck with that.
SetPedPropIndex(GetPlayerPed(-1), 1, 5, 0, 2) --Sunglasses
SetPedPropIndex(GetPlayerPed(-1), 2, 0, 0, 2) --Bluetoothn earphone
SetPedComponentVariation(GetPlayerPed(-1), 11, 55, 0, 2) --Shirt
SetPedComponentVariation(GetPlayerPed(-1), 8, 58, 0, 2) --Nightstick decoration
SetPedComponentVariation(GetPlayerPed(-1), 4, 35, 0, 2) --Pants
SetPedComponentVariation(GetPlayerPed(-1), 6, 24, 0, 2) --Shooes
SetPedComponentVariation(GetPlayerPed(-1), 10, 8, 0, 2) --rank
else
SetPedPropIndex(GetPlayerPed(-1), 1, 11, 3, 2) --Sunglasses
SetPedPropIndex(GetPlayerPed(-1), 2, 0, 0, 2) --Bluetoothn earphone
SetPedComponentVariation(GetPlayerPed(-1), 3, 14, 0, 2) --Non buggy tshirt
SetPedComponentVariation(GetPlayerPed(-1), 11, 48, 0, 2) --Shirt
SetPedComponentVariation(GetPlayerPed(-1), 8, 35, 0, 2) --Nightstick decoration
SetPedComponentVariation(GetPlayerPed(-1), 4, 34, 0, 2) --Pants
SetPedComponentVariation(GetPlayerPed(-1), 6, 29, 0, 2) --Shooes
SetPedComponentVariation(GetPlayerPed(-1), 10, 7, 0, 2) --rank
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_PISTOL50”), 150, true, true)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_STUNGUN”), true, true)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_NIGHTSTICK”), true, true)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_PUMPSHOTGUN”), 150, true, true)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_FLASHLIGHT”), true, true)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_SMG”), 150, true, true)
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(“WEAPON_APPISTOL”), 150, true, true)
Thanks for that, but it’s still not seeming to work