withdrawBusinessMoney
exports["RiP-Clothing"]:withdrawBusinessMoney(id, money)
This function withdraws money from an business bank
info
This function only works if the player who executes the function is also the owner
of the business!
Arguments
Name | Type | Optional | Explanation |
---|---|---|---|
id | Integer | No | business id |
money | Integer | No | money amount |
Returned Table
Name | Type | Explenation |
---|---|---|
businessData | Table ? Boolean | updated business data |
Example
local businessData = exports["RiP-Clothing"]:withdrawBusinessMoney(id, money)