Skip to content

fix: (esx_policejob) accessing undefined variable #1667

fix: (esx_policejob) accessing undefined variable

fix: (esx_policejob) accessing undefined variable #1667

Triggered via push April 7, 2024 16:13
Status Failure
Total duration 2m 31s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

50 errors
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:105:7: unused variable 'clothesCategory'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:110: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:110: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:110: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:146: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:181: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:182: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:200: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:206: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:207: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:214: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:220:15: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:13: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:233:19: 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:276:19: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:15: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:306:19: 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:311:19: 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:316:19: 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:322:19: 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:341:10: unused global variable 'CheckQuantity'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:20: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:456:31: 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:471:35: 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:476:36: 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:501: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:506:37: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:25: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:549:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:26: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:554:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:27: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:570:35: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:28: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:575:36: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:29: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:588:5: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:30: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:592:46: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:31: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:685:6: accessing undefined variable 'societyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:32: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:689:47: accessing undefined variable 'societyMoney2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:33: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:874:18: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:34: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:908:27: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:35: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:939:38: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:36: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:948:43: accessing undefined variable 'plyPed'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/other.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/other.lua:150:34: variable 'endCoords' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_menu/client/other.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/other.lua:150:45: variable 'surfaceNormal' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_menu/client/other.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/other.lua:150:60: variable 'entityHit' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:49:11: unused global variable 'GetPlayerAccounts'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:57:11: unused global variable 'GetSocietyMoney'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:66:12: unused global variable 'GetSocietyMoney2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:108:10: unused variable 'playerJob'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:108:10: shadowing definition of variable 'playerJob' on line 102
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:109:7: accessing undefined variable 'playerJob2'
lua.server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/utils.lua:109:51: accessing undefined variable 'playerJob2'
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:120:3: value assigned to field 'name' is overwritten on line 121 before use
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:174:3: value assigned to field 'name' is overwritten on line 175 before use
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:210:3: value assigned to field 'name' is overwritten on line 211 before use
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:302:3: value assigned to field 'name' is overwritten on line 303 before use