mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Changed rewards, added extra store
This commit is contained in:
+2
-2
@@ -26,7 +26,7 @@ end)
|
||||
|
||||
RegisterServerEvent('esx_holdup:rob')
|
||||
AddEventHandler('esx_holdup:rob', function(robb)
|
||||
local _source = source
|
||||
local _source = source
|
||||
local xPlayer = ESX.GetPlayerFromId(_source)
|
||||
local xPlayers = ESX.GetPlayers()
|
||||
|
||||
@@ -46,7 +46,7 @@ AddEventHandler('esx_holdup:rob', function(robb)
|
||||
end
|
||||
end
|
||||
|
||||
if rob == false then
|
||||
if not rob then
|
||||
if cops >= Config.PoliceNumberRequired then
|
||||
rob = true
|
||||
for i=1, #xPlayers, 1 do
|
||||
|
||||
Reference in New Issue
Block a user