Registering transactions

Server-side

TriggerEvent('okokBanking:AddNewTransaction', receiver_name, receiver_identifier, sender_name, sender_identifier, value, reason)

Variables:

receiver_name: Bank

receiver_identifier: bank

sender_name: getName(source)

sender_identifier: xPlayer.identifier

value: Config.CreditCardPrice

reason: Buy CC

Last updated