A lightweight, free, and open-source framework designed to spawn NPCs (peds) at specific locations with custom animations.
NPC Spawner gives you a robust base framework to populate your world. Whether you need a shopkeeper standing behind a counter or a construction worker digging at a site, this script handles the spawning and animation logic efficiently.
| Feature | Detail |
|---|---|
| Framework | Standalone (Works on any server/framework) |
| Dependencies | N/A |
| Performance (Idle) (Depending on amount of NPC's) | 0.00ms |
| Support | Discord |
Configuration is handled entirely in config.lua. You can add as many NPCs as you like by defining their model, coordinates, and animation settings.
Config = {}
Config.NPCs = {
{
model = "a_m_m_farmer_01",
coords = vector4(123.4, 567.8, 90.0, 180.0),
animation = {
dict = "amb@world_human_gardener_plant@idle_a",
anim = "idle_a"
}
},
}