Create Ped error

Hello guys and thank you for reading this~!
I have a problem with creating a ped… i created a command which should spawn a ped but it doesn’t show on server when i write the command…

RegisterCommand(‘spawnped’, function(source, args)
local thisPed = CreatePed(26, 1706635382, -284.94348144531,-910.38970947266,33.673601150513, 0.0, true, true)
end, false)

Resolved it with requestmodel :smiley:

local hash = GetHashKey( “mp_m_shopkeep_01” )
while not HasModelLoaded( hash ) do
RequestModel( hash )
Wait(20)
end

1 Like