mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Update multi-language support
Update multi-language support
This commit is contained in:
@@ -30,7 +30,7 @@ RegisterServerEvent('esx_jobs:giveBackCautionInCaseOfDrop')
|
||||
AddEventHandler('esx_jobs:giveBackCautionInCaseOfDrop', function()
|
||||
local _source = source
|
||||
local xPlayer = ESX.GetPlayerFromId(_source)
|
||||
|
||||
|
||||
TriggerEvent('esx_addonaccount:getAccount', 'caution', xPlayer.identifier, function(account)
|
||||
local caution = account.money
|
||||
account.removeMoney(caution)
|
||||
|
||||
Reference in New Issue
Block a user