mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 08:01:24 +00:00
Update main.lua
This commit is contained in:
@@ -23,7 +23,7 @@ AddEventHandler('esx_banking:deposit', function(amount)
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback("esx_banking:BenzoFP", function(source, cb)
|
||||
ESX.RegisterServerCallback("esx_banking:gethistory", function(source, cb)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
local identifier = xPlayer.getIdentifier()
|
||||
local history = MySQL.Sync.prepare('SELECT * FROM banking WHERE identifier = ?', {identifier})
|
||||
|
||||
Reference in New Issue
Block a user