[Help] Chat Command for spawn Ped (NPC)

Hello,

I’m looking for help to create a script for spawn Ped(NPC) via chat command for Essential Mode.
In order to do Event without reboot.

A chat command like /spawnped [model] or [Hash].

I found many examples for cars and I tried to inspire myself but without success.
Maybe someone can help me with that ?

Thank you, and sorry for my english, i’m French :slight_smile:

Witch.