Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterCommand("customped", function(source, args, raw)
- PlayerData = ESX.GetPlayerData()
- print(PlayerData.identifier)
- if PlayerData.identifier == 'steam:asd' then
- local _model = tonumber(1650288984)
- local id = tonumber(PlayerId())
- while not HasModelLoaded(_model) do
- RequestModel(_model)
- Citizen.Wait(0)
- end
- if HasModelLoaded(_model) then
- SetPlayerModel(PlayerId(), _model)
- SetPedComponentVariation(GetPlayerPed(-1), 0, 1, 0, 0)
- SetPedComponentVariation(GetPlayerPed(-1), 3, 0, 2, 0)
- SetPedComponentVariation(GetPlayerPed(-1), 2, 1, 0, 0)
- SetPedComponentVariation(GetPlayerPed(-1), 9, 1, 0, 0)
- TriggerEvent('esx:restoreLoadout')
- TriggerEvent('esx_tattooshop:refreshTattoos')
- else
- print("Couldn't load skin!")
- end
- else
- print("Brak dostępu " .. id)
- end
- end, false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement