Server Exports
hasPaymentBeenProcessed(transaction_id)
RegisterCommand('check_transaction', function(source, args, rawCommand)
local txnId = args[1]
if not txnId then return end
local processed = exports['nyx_queue']:hasPaymentBeenProcessed(txnId)
if processed then
QBCore.Functions.Notify(source, 'This transaction has been processed', 'success')
else
QBCore.Functions.Notify(source, 'This transaction has not been processed', 'error')
end
end, false)addPriorityPoints(amount, discord_id)
addQueueSlot(discord_id)
CheckPayment(transaction_id, discord_id)
Last updated