Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.darkrp.getShipmentContentsIndex

S๐Ÿท๏ธ Darkrp

Part of StarfallEx namespace

๐Ÿ”— External
darkrp.getShipmentContentsIndex(ent)
View on GitHub|lua/starfall/libs_sh/darkrp2.lua:914
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Get the index of the contents of the shipment, which should then be looked up in the output of "darkrp.getCustomShipments". DarkRP only. Equivalent to GLua Entity:Getcontents. You may prefer to use Entity:getShipmentContents instead, although that function is slightly slower.

Parameters

NameTypeDescription
entEntityThe shipment

Returns

TypeDescription
numberIndex of contents, or nil if not a shipment

Examples

No examples available.

Used In

No usages found in the codebase.