Skip to main content

getBusinessData

exports["RiP-Clothing"]:getBusinessData(id) 

This function returns the data of an business

Arguments

NameTypeOptionalExplanation
idIntegerNobusiness id

Returned Table

NameTypeExplenation
businessDataTablebusiness data

Example

local businessData = exports["RiP-Clothing"]:getBusinessData(id)
print("Outfit Id: ", businessData.id)
print("Outfit owner: ", businessData.identifier)