Skip to main content

SetCurrency

Sets the currency to the player.

Function

WXPlayer.Currencies:SetCurrency(name, amount)

Parameters

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

Returns

TypeDescription
numberThe new amount of currency after setting