AthenaClient.streamers.item ​
Type Aliases ​
CreatedDrop ​
Ƭ CreatedDrop: player
& { createdObject?
: alt.Object
}
Defined in ​
Functions ​
getClosest ​
Usage
AthenaClient.streamers.item.getClosest(): player
[]
Return an array of items that are closest to the player.
Static
Returns ​
player
[]
Defined in ​
getDropped ​
Usage
AthenaClient.streamers.item.getDropped(id
): CreatedDrop
| undefined
Determine if this alt.Object is an item drop.
Parameters ​
Name | Type |
---|---|
id | number |
Returns ​
CreatedDrop
| undefined
Defined in ​
setDefaultDropModel ​
Usage
AthenaClient.streamers.item.setDefaultDropModel(model
): void
Overrides the default model for item drops. By default it is a cardboard box.
Parameters ​
Name | Type |
---|---|
model | string |
Returns ​
void
Defined in ​
setDefaultMaxDistance ​
Usage
AthenaClient.streamers.item.setDefaultMaxDistance(distance?
): void
Set the maximum distance a player can see item drops.
Parameters ​
Name | Type | Default value |
---|---|---|
distance? | number | 5 |
Returns ​
void