N.spawn — Server Entity Spawner
`N.spawn()` is the universal creator in NurJS. It lets you spawn any entity — vehicles, objects, NPCs (peds), or map blips — using one simple, unified function. Each entity type has its own suppor
const entity = N.spawn(type, data);Parameter
Type
Description
🚗 Vehicle
N.spawn("vehicle", {
model: "kuruma",
pos: new mp.Vector3(215.5, -810.2, 30.7),
heading: 90,
color: [111, 111, 255],
plate: "NURJS",
engine: true,
lock: false,
owner: player, // optional: player reference or name
fuel: 100,
setmodes: { 11: 3, 22: 2 } // vehicle mods
});Property
Type
Description
📦 Object
Property
Type
Description
🧍 NPC / Ped
Property
Type
Description
🗺️ Blip
Property
Type
Description
🧠 Debug Mode
Last updated