fix: unused global variable GetPlayerCameraRotation #154
Annotations
51 errors and 1 warning
Stylua Check
The process '/home/runner/work/_temp/64003b00-819e-495c-b447-247637f9d4e1/stylua' failed with exit code 2
|
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:51:10: unused global variable 'AddSharedAccount'
|
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:113:15: unused variable 'label'
|
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:127:19: value assigned to variable 'money' is unused
|
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:4:
lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:131:32: accessing undefined variable 'NULL'
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
|
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
|
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
|
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
|
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
|
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
|
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
|
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
|
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:32: accessing undefined variable 'HasAlreadyEnteredMarker'
|
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:298:76: accessing undefined variable 'LastZone'
|
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:304:31: accessing undefined variable 'HasAlreadyEnteredMarker'
|
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:4:
lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:306:59: accessing undefined variable 'LastZone'
|
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:616:14: accessing undefined variable 'Sleep'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:1:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:180:10: unused global variable 'startAnimAction'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:186:10: unused global variable 'CheckQuantity'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:372:8: accessing undefined variable 'societyMoney'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:4:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:373:115: accessing undefined variable 'societyMoney'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:5:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:463:12: accessing undefined variable 'societyMoney'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:6:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/client/main.lua:464:120: accessing undefined variable 'societyMoney2'
|
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:660:37: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:2:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:675:17: accessing undefined field 'CreateThreadNow' of global 'Citizen'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:3:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:747:37: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:4:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:750:37: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:5:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:763:34: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:6:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:766:34: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:7:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:786:62: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:8:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:786:88: accessing undefined variable 'plyPed'
|
lua.server-data/resources/[bpt_addons]/bpt_menu/config.lua:9:
lua#L1
server-data/resources/[bpt_addons]/bpt_menu/config.lua:787:40: accessing undefined variable 'plyPed'
|
Stylua Check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: JohnnyMorganz/stylua-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|