mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
error with identifier (#445)
Change xPlayer to sourceXPlayer and fixing misprinting in the console.
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ AddEventHandler('esx_policejob:confiscatePlayerItem', function(target, itemType,
|
||||
local targetXPlayer = ESX.GetPlayerFromId(target)
|
||||
|
||||
if sourceXPlayer.job.name ~= 'police' then
|
||||
print(('esx_policejob: %s attempted to confiscate!'):format(xPlayer.identifier))
|
||||
print(('esx_policejob: %s attempted to confiscate!'):format(sourceXPlayer.identifier))
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user