How can i change a specific player’s ped(Add-on peds - Game peds) that load every time he enters the server?
Thanks in advance.
How can i change a specific player’s ped(Add-on peds - Game peds) that load every time he enters the server?
Thanks in advance.
local defaultModel = 0xF5C1611E -- mp_male
if (IsModelInCdimage(defaultModel)) then
RequestModel(defaultModel)
while not HasModelLoaded(defaultModel) do
Citizen.Wait(0)
end
SetPlayerModel(PlayerId(), defaultModel, 0)
SetPedOutfitPreset(PlayerPedId(), 0, 0)
SetModelAsNoLongerNeeded(defaultModel)
end
All ped hashes can be found here on GitHub