update
This commit is contained in:
1 parent
11e3b5efe6
commit
c7479b44ff
4 files changed
+35
-33
No files matched your search
+4
-2
@@ -12,7 +12,8 @@ RegisterServerEvent('md-drugs:server:makecrackone', function(num)
|
||||
{item = 'loosecokestagethree', tier = 'tier3', log = ' Cut Crack tier 3'}
|
||||
}
|
||||
for _, v in ipairs(crackTiers) do
|
||||
if count >= 1 then return end
|
||||
if count >= 1 then break end
|
||||
print(v.item)
|
||||
if Player.Functions.GetItemByName(v.item) then
|
||||
tier = v.tier
|
||||
count = count + 1
|
||||
@@ -20,6 +21,7 @@ RegisterServerEvent('md-drugs:server:makecrackone', function(num)
|
||||
end
|
||||
end
|
||||
end
|
||||
print(tier)
|
||||
if not GetRecipe(src, 'crack', type, tier) then return end
|
||||
end)
|
||||
|
||||
@@ -35,7 +37,7 @@ RegisterServerEvent('md-drugs:server:bagcrack', function(num)
|
||||
{item = 'crackrockstagethree', tier = 'tier3', log = ' Bagged Crack tier 3'}
|
||||
}
|
||||
for _, v in ipairs(crackTiers) do
|
||||
if count >= 1 then return end
|
||||
if count >= 1 then break end
|
||||
if Player.Functions.GetItemByName(v.item) then
|
||||
tier = v.tier
|
||||
count = count + 1
|
||||
|
||||
Reference in new issue
Block a user