Need help for createPed

Hello!

I would like to understant the peds list. Not all of them works. It’s probably because I don’t understand the first letters. For example this works (S_M_M_Bouncer_01):

CreatePed(4, 0x9fd4292d, 122.702, -1308.935, 29.227, 0, false, true)

But this does not work (S_M_Y_Doorman_01):

CreatePed(4, 0x22911304, 122.702, -1308.935, 29.227, 0, false, true)

What is my f***ing problem?!?

Thank’s for your help!

P

1 Like

Have you tried pre-loading the model before you attempt to spawn it?

RequestModel( GetHashKey( "s_m_m_bouncer_01" ) )
while ( not HasModelLoaded( GetHashKey( "s_m_m_bouncer_01" ) ) ) do
    Citizen.Wait( 1 )
end
2 Likes

HAAAAAAA!!!

Thank you verry much!!!

1 Like