Command that gives an amount of the player's money to the entity they are looking at.
Summary
Methods
get_description()shared
Returns the translated command description with the available currency IDs listed.
Gives money to the entity the player is looking at.
Methods
Returns the translated command description with the available currency IDs listed.
Returns
- String
Gives money to the entity the player is looking at.
Parameters
- actor Player the player who ran the command
- amount String amount to give, parsed with tonumber
- currency String optional, defaults to
nilcurrency ID; the default currency is used when it is omitted, seeCurrencies:get_default_currency