If you cant create ped this post maybe can help you

hello everyone :raised_hand_with_fingers_splayed:t3:

local coords = GetEntityCoords(PlayerPedId())
local heading = GetEntityHeading(PlayerPedId())
local model = 'a_m_m_farmer_01'
local pedtypes = 1
while not HasModelLoaded(GetHashKey(model)) do
	RequestModel(GetHashKey(model))
	Wait(100)
end
dad_ped = CreatePed(pedtypes, GetHashKey(model), coords, heading, false, true)

its default functions :

Create ped with coords
CreatePed(pedType, modelHash, x, y, z, heading, isNetwork, ScriptHostPed)

Create ped in vehicle : 
CreatePedInsideVehicle(vehicle, pedType, modelHash, seat, heading, isNetwork, ScriptHostPed)
Seat :

-1 = Driver
0 = Front Right Passenger
1 = Back Left Passenger
2 = Back Right Passenger
3 = Further Back Left Passenger (vehicle doors > 4 seats)
4 = Further Back Right Passenger (vehicle doors > 4 seats)

list of all ped models : https://docs.fivem.net/docs/game-references/ped-models/

Ped Types

PED_TYPE_PLAYER_0
PED_TYPE_PLAYER_1
PED_TYPE_NETWORK_PLAYER
PED_TYPE_PLAYER_2
PED_TYPE_CIVMALE
PED_TYPE_CIVFEMALE
PED_TYPE_COP
PED_TYPE_GANG_ALBANIAN
PED_TYPE_GANG_BIKER_1
PED_TYPE_GANG_BIKER_2
PED_TYPE_GANG_ITALIAN
PED_TYPE_GANG_RUSSIAN
PED_TYPE_GANG_RUSSIAN_2
PED_TYPE_GANG_IRISH
PED_TYPE_GANG_JAMAICAN
PED_TYPE_GANG_AFRICAN_AMERICAN
PED_TYPE_GANG_KOREAN
PED_TYPE_GANG_CHINESE_JAPANESE
PED_TYPE_GANG_PUERTO_RICAN
PED_TYPE_DEALER
PED_TYPE_MEDIC
PED_TYPE_FIREMAN
PED_TYPE_CRIMINAL
PED_TYPE_BUM
PED_TYPE_PROSTITUTE
PED_TYPE_SPECIAL
PED_TYPE_MISSION
PED_TYPE_SWAT
PED_TYPE_ANIMAL
PED_TYPE_ARMY|

If this helps you, you’re welcome :wink::yellow_heart:

1 Like

As it seems to me you like to help people, good job!

1 Like

yes , It feels very good :smiling_face_with_three_hearts:

1 Like

i need a script were i can add multiple peds around the map and they just stand ther but i put them were
ever i want them is this the script im looking for??

how to remove ped

1 Like

Its Easy, You Can Use “DeleteEntity
Like: DeleteEntity(ped)

sorry i dont know

I have used qb-shops for this, it works pretty well for this purpose.
I am not sure if qb-shops will work as standalone, but if you don’t intend to use it for its intended purpose, or have the QBCore as your framework, it works well to add more static peds into your world.
I will mention though, it uses “scenarios” instead of “animations”.

  1. Make a new “shopkeeper” with no inventory items.
  2. Set the shop radius to “0” to hide the shopkeepers inventory (default is “1.5”)
  3. Disable “Third Eye Interaction” for the script.

I used it to place more strippers standng around on the floor at the Vanilla Unicorn. (All they do is dance and drink alcohol on the floor)

Sorry this reply is so late. I hope it still helps. But if you’ve found something else that works better with proper animations, please let us know what script you have been using.

Perhaps you might be able to help out with this?..