mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 13:01:30 +00:00
Fix xTarget always nil
GetPlayerFromIdentifier instead of GetPlayerFromId
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ ESX.RegisterServerCallback('esx_billing:payBill', function(source, cb, id)
|
||||
local target = result[1].target
|
||||
local amount = result[1].amount
|
||||
|
||||
local xTarget = ESX.GetPlayerFromId(sender)
|
||||
local xTarget = ESX.GetPlayerFromIdentifier(sender)
|
||||
|
||||
if targetType == 'player' then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user