Item:spawn

From Nutscript Developer Wiki
Jump to navigation Jump to search


    Item:spawn(position, angles)

This function brings the item to the world in the specific position and the angle. To brinn the item, Item's inventory ID must be the 0. Or you can just bring Logical Items in the [0] Inventory to the world.

Arguments[edit]

  • Vector position
  • Angle angles

Return Values[edit]

  • Entity

The entity that created in the process of moving the item to the world.

Examples[edit]

none