mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Fixed broken code
This commit is contained in:
+2
-3
@@ -72,9 +72,8 @@ AddEventHandler('esx_holdup:rob', function(robb)
|
||||
rob = false
|
||||
if xPlayer then
|
||||
local award = store.reward
|
||||
|
||||
TriggerClientEvent('esx_holdup:robberycomplete', savedSource, reward)
|
||||
xPlayer.addAccountMoney('black_money', reward)
|
||||
TriggerClientEvent('esx_holdup:robberycomplete', savedSource, award)
|
||||
xPlayer.addAccountMoney('black_money', award)
|
||||
|
||||
local xPlayers = ESX.GetPlayers()
|
||||
for i=1, #xPlayers, 1 do
|
||||
|
||||
Reference in New Issue
Block a user