Skip to main content

RemoveCurrency

Removes currency from a player

Function

WXPlayer.Currencies:RemoveCurrency(name, amount)

Parameters

TypeNameDescription
stringnameThe name of the currency.
numberamountThe amount of the currency.

Returns

TypeDescription
numberThe new amount of currency after removing