Part of StarfallEx namespace
๐ External
darkrp.getShipmentContentsIndex(ent)๐ 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
| Name | Type | Description |
|---|---|---|
ent | Entity | The shipment |
Returns
| Type | Description |
|---|---|
number | Index of contents, or nil if not a shipment |
Examples
No examples available.
Used In
No usages found in the codebase.