Skip to main content

UpdateTransactionData

TriggerEvent Syntax
TriggerEvent("viority_hud:client:UpdateTransactionData", securitytoken, account, isnegative, amount)

PARAMETER

  1. SecurityToken (STRING) -> EventWhitelist in ViorityCore
  2. Account (STRING) -> "money" or "bank"?
  3. IsNegative (BOOL) -> Is the amount negative -> true or false
  4. Amount (INT) -> How much?
warning

This Event is only available on client side!

Example TriggerEvent
TriggerEvent("viority_hud:client:UpdateTransactionData", "SECURITYTOKEN", "money", false, 25000)