Skip to content

fix: bpt_lscustom\client\main.lua fix lint error #1757

fix: bpt_lscustom\client\main.lua fix lint error

fix: bpt_lscustom\client\main.lua fix lint error #1757

Triggered via push May 24, 2024 10:05
Status Failure
Total duration 2m 19s
Artifacts

lint.yml

on: push
Lint Resource
2m 9s
Lint Resource
Fit to window
Zoom out
Zoom in

Annotations

100 errors
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:16:23: value assigned to variable 'ped' is overwritten on line 19 before use
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:24:17: loop is executed at most once
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:270:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:292:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:307:27: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:313:95: accessing undefined variable 'price'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:345:31: value assigned to variable '_label' is overwritten on line 347 before use
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:356:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:381:35: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:387:104: accessing undefined variable 'price'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:409:35: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:415:104: accessing undefined variable 'price'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:431:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:12: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:452:27: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:13: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:470:35: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:14: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:541:9: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:15: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:563:19: unused variable 'currentZone'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:16: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:563:32: unused variable 'zone'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:17: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:563:38: unused variable 'lastZone'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:18: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:566:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:19: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:593:47: shadowing upvalue 'Sleep' on line 557
lua.server-data/resources/[bpt_addons]/bpt_lscustom/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/server/main.lua:25:13: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:40:16: unused function 'firstToUpper'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:106:34: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:106:84: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:106:107: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:142:18: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:177:10: unused global variable 'getCamDirection'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:178:76: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:196:27: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:202:19: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:203:24: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:210:15: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:12: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:214:10: unused global variable 'startAnimAction'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:13: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:216:15: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:14: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:220:10: unused global variable 'CheckQuantity'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:15: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:297:31: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:16: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:312:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:17: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:317:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:18: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:342:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:19: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:347:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:20: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:390:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:21: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:395:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:22: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:411:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:23: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:416:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:24: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:429:5: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:25: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:433:46: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:26: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:526:6: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:27: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:530:47: accessing undefined variable 'societyMoney2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:28: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:715:18: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:16:23: value assigned to variable 'ped' is overwritten on line 19 before use
lua.server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hunting/client/main.lua:24:17: loop is executed at most once
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:270:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:292:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:307:27: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:313:95: accessing undefined variable 'price'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:345:31: value assigned to variable '_label' is overwritten on line 347 before use
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:356:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:381:35: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:387:104: accessing undefined variable 'price'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:409:35: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:415:104: accessing undefined variable 'price'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:431:31: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:12: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:452:27: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:13: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:470:35: value assigned to variable '_label' is unused
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:14: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:541:9: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:15: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:563:19: unused variable 'currentZone'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:16: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:563:32: unused variable 'zone'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:17: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:563:38: unused variable 'lastZone'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:18: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:566:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:19: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/client/main.lua:593:47: shadowing upvalue 'Sleep' on line 557
lua.server-data/resources/[bpt_addons]/bpt_lscustom/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_lscustom/server/main.lua:25:13: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:40:16: unused function 'firstToUpper'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:106:34: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:106:84: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:106:107: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:142:18: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:177:10: unused global variable 'getCamDirection'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:178:76: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:196:27: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:202:19: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:10: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:203:24: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:11: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:210:15: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:12: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:214:10: unused global variable 'startAnimAction'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:13: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:216:15: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:14: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:220:10: unused global variable 'CheckQuantity'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:15: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:297:31: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:16: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:312:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:17: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:317:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:18: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:342:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:19: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:347:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:20: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:390:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:21: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:395:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:22: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:411:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:23: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:416:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:24: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:429:5: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:25: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:433:46: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:26: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:526:6: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:27: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:530:47: accessing undefined variable 'societyMoney2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:28: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:715:18: accessing undefined variable 'plyPed'