Hi, I created a function to change clothes in a menu, I would like to know if cele is so good?
And then I would like her to take money away from the player when I choose my clothes?
My code :
function Veste()
Citizen.CreateThread(function()
if(GetEntityModel(GetPlayerPed(-1)) == hashSkin) then
SetPedComponentVariation(GetPlayerPed(-1), 8, 59, 0, 2)
end
end)
end