function spawnNpc (client-side)
Available since version: 0.3.0
Spawn a previously created NPC into the world using an optional instance.
Declaration
boolean spawnNpc(number npc_id, string|nil instance_name)
Parameters
numbernpc_id: Internal npc id.string|nilinstance_name: Optional instance name (e.g., "PC_HERO").
Returns boolean
True if spawn attached to world.