Skip to content

Commit 9c859e7

Browse files
committed
Add variable to disable skillchecks in scrap and dumpster
1 parent a7d713d commit 9c859e7

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

client/dumpsters.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if Config.DumpsterDiving.Enable then
3636
lookEnt(entity)
3737
playAnim("anim@amb@machinery@speed_drill@", "look_around_left_02_amy_skater_01", 35000, 1, Ped)
3838

39-
if Config.System.skillCheck then
39+
if Config.System.useSkillCheck then
4040
searchSuccess = skillCheck()
4141
else
4242
searchSuccess = true

client/scrap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if Config.ScrapyardSearching.Enable then
3434
lookEnt(entity)
3535
playAnim("anim@amb@machinery@speed_drill@", "look_around_left_02_amy_skater_01", 35000, 1, Ped)
3636

37-
if Config.System.skillCheck then
37+
if Config.System.useSkillCheck then
3838
searchSuccess = skillCheck()
3939
else
4040
searchSuccess = true

config.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Config = {
1212
skillCheck = "gta", -- "qb", "ox", "gta"
1313

1414
DontUseTarget = false,
15+
16+
useSkillCheck = true,
1517
},
1618
Crafting = {
1719
showItemBox = true,

0 commit comments

Comments
 (0)