AthenaClient.streamers.object ​
Type Aliases ​
CreatedObject ​
Ƭ CreatedObject: player
& { createdObject?
: alt.Object
}
Defined in ​
Functions ​
addObject ​
Usage
AthenaClient.streamers.object.addObject(newObject
): void
Parameters ​
Name | Type |
---|---|
newObject | IObject |
Returns ​
void
Defined in ​
client/streamers/object.ts:133
getFromScriptId ​
Usage
AthenaClient.streamers.object.getFromScriptId(scriptId
): CreatedObject
| undefined
Used to obtain a CreatedObject instance from a generic scriptID
Parameters ​
Name | Type |
---|---|
scriptId | number |
Returns ​
CreatedObject
| undefined
Defined in ​
client/streamers/object.ts:176
removeObject ​
Usage
AthenaClient.streamers.object.removeObject(uid
): void
Parameters ​
Name | Type |
---|---|
uid | string |
Returns ​
void