Objects
Used to register and remove object spawning, from peds to vehicles.
lib.objects.register
Create a new object
Parameter
Type
Required
Description
name
String
Unique reference for object
new_data
Object
lib.objects.get
Get information regarding an object
Parameter
Type
Required
Description
id
String
Unique reference for the object
lib.objects.destroy
Completely remove an object
Parameter
Type
Required
Description
id
String
Unique reference for the object
Data Structure
This is the data structure of an object and the valid options
Last updated