I have this code:
local model = GetHashKey("u_m_y_rsranger_01")
RequestModel(model)
while not HasModelLoaded(model) do
RequestModel(model)
Citizen.Wait(0)
end
SetPlayerModel(PlayerId(), model)
SetModelAsNoLongerNeeded(model)
else
-- THIS IS WHAT I AM TRYING TO FIGURE OUT --
Players have their own skin and clothes, and I have a menu where they can change their skin completely. I want to restore their original skin when they press the same button, but I cant figure this out.
How should I go with this?