Hooks
Buying Crypto
Hook:
CH_CryptoCurrencies_bLogs_BuyCrypto
Arguments:
ply = the player entity
buy_amount = the amount of cryptocurrency purchases
crypto_name = the full name of the cryptocurrency (Bitcoin, Doge, Ethereum)
crypto_costs = how much was paid to receive these coins
Selling Crypto
Hook:
CH_CryptoCurrencies_bLogs_SellCrypto
Arguments:
ply = the player entity
sell_amount = the amount of cryptocurrency sold
crypto_name = the full name of the cryptocurrency (Bitcoin, Doge, Ethereum)
earnings = how much was earned from selling these coins
The hooks serves the purpose of logging through bLogs, hence the naming. However, you can still use it as you please like any other hook.