Add
<Base> InstanceObject:Add(<string> Type, <table> Data, <table> Properties)
Attempts to initialise a base ESP object of Type with Data and Properties. Uses Base.new to initialise the object.
Do not add many objects of same Type and SubType. It will error otherwise.
Parameters
Name
Description
Type
Default
Optional
Type
The type to search for
string
N/A
Data
Special data properties
table
N/A
Properties
The properties to use for the objects
table
N/A
Return
<Base> the created object
Last updated