1
0
2025-05-06 12:21:14 -04:00

511 B

Function: AddCoin(Player, Amount)

Description: Provide the Amount of coin provided in copper which will translate the value into copper, silver, gold, platinum respectively to the Player.

Parameters:

  • Player: Spawn - The Spawn (Player) to provide the coin.
  • Amount: UInt32 - Amount in copper to provide Player.

Returns: None.

Example:

-- Example usage, provide 5 copper to Player. 50 copper = 5 silver, 500 copper = 5 gold, 5000 copper = 5 platinum.
AddCoin(Player, 5)