impulse_item

The base entity for dropped items.

Functions

impulse_item:GetItemID()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Gets the item class for the entity.

Returns

  • int

    The network ID of the item assigned.

impulse_item:SetItem(itemclass, owner)

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Sets the item class for the entity.

Parameters

  • itemclass int

    The item class to assign.

  • owner Player optional

    The owner of the item.

impulse_item:SetItemID(ItemID)

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Sets the networked item class for the entity.

Parameters

  • ItemID int

    The network ID of the item assigned.