help me plz
Can anyone help me how to make you spawn as mp_m_freemode_01 like the characters in Orginal gta online. But when i start the server i spawn as an ped, But i want to spawn as the Normal Character like u customize it yourself. “This is on my ESX Server first time making a server”
I put all that stuff in the map.lua like this
spawnpoint ‘mp_m_freemode_01’ { x= 1839.6, y= 3672.93, z= 34.28 }
AddEventHandler(“playerSpawned”, function(spawn)
Citizen.CreateThread(function()
local playerPed = GetPlayerPed(-1)
–SET_PED_COMPONENT_VARIATION(Ped 'mp_m_freemode_01', int componentId, int drawableId, int textureId, int paletteId)
SetPedComponentVariation(playerPed, 0, 0, 0, 2) --Face
SetPedComponentVariation(playerPed, 2, 11, 4, 2) --Hair
SetPedComponentVariation(playerPed, 4, 1, 5, 2) – Pantalon
SetPedComponentVariation(playerPed, 6, 1, 0, 2) – Shoes
SetPedComponentVariation(playerPed, 11, 7, 2, 2) – Jacket
end)
end)
and I am just awaiting scripts and not spawning me in ?? anyone help