getBusinessData
exports["RiP-Clothing"]:getBusinessData(id)
This function returns the data of an business
Arguments
Name | Type | Optional | Explanation |
---|---|---|---|
id | Integer | No | business id |
Returned Table
Name | Type | Explenation |
---|---|---|
businessData | Table | business data |
Example
local businessData = exports["RiP-Clothing"]:getBusinessData(id)
print("Outfit Id: ", businessData.id)
print("Outfit owner: ", businessData.identifier)