π§βπΎAmbient NPC
β‘ Getting Started
TriggerEvent("Botiv:startPNJSystem")π¦ Client Side
Add an NPC (Event)
TriggerEvent("Botiv-publicnpc:insertNewNPC", "boss-1", {
model = "a_m_m_sddockworkers_02",
coords = { x = -803.6, y = -1292.98, z = 42.63 },
heading = 60.62,
anim = "WORLD_HUMAN_SIT_GROUND_READ_NEWSPAPER",
distance = 50.0,
dontreact = true,
walking = false,
walking_distance = 20.0,
weapon = ""
})Get an NPC Entity (Export)
π§ Server Side
Insert NPC (Server Event)
βοΈ NPC Configuration Example
π Notes
Last updated