forked from Simnation/Main
ed
This commit is contained in:
parent
bb5b4ae2f0
commit
e876d31e05
2 changed files with 3 additions and 2 deletions
|
@ -445,8 +445,8 @@ RegisterNetEvent('QBCore:Server:PlayerLoaded', function()
|
|||
end
|
||||
end)
|
||||
|
||||
-- Alternative hook method if you can't modify ps-banking
|
||||
-- This listens for the MySQL query that deletes a bill (which happens when a bill is paid)
|
||||
-- Hook into ps-banking bill payments
|
||||
-- This is crucial for handling payments made through ps-banking interface
|
||||
AddEventHandler('oxmysql:query', function(query, params)
|
||||
if string.find(query, "DELETE FROM ps_banking_bills WHERE id = ?") then
|
||||
-- This is likely a bill payment
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue