Changed rewards, added extra store

This commit is contained in:
ElPumpo
2018-07-29 15:40:58 +02:00
parent 47e9acff28
commit d1c5320059
2 changed files with 65 additions and 60 deletions
+2 -2
View File
@@ -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