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