Skip to main content

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

NameTypeOptionalExplanation
idIntegerNobusiness id
moneyIntegerNomoney amount

Returned Table

NameTypeExplenation
businessDataTable ? Booleanupdated business data

Example

local businessData = exports["RiP-Clothing"]:withdrawBusinessMoney(id, money)