Bug Report (Police Computer script error)

Messages
2,386
Reaction score
3,494
Points
1,000
Location
United Kingdom
Type of Bug: Lua

Description of the Bug: Police Computer script error

How to reproduce the Bug: I have no clue how or why this has happened, nothing was broken after playing medic for a while then pressing F3 caused the error and broken menu in the top left of the screen. I was able to use the computer as normal after this but the broken menu remains on the corner of my game.

Time Stamp: ‎15 ‎November ‎2023, ‏‎18:27:16 GMT

Errors: gamemodes/darkrp/gamemode/modules/clothing/sh_clothingdata.lua:41: attempt to index local 'copy' (a nil value)
1. GetClothingDataCopy - gamemodes/darkrp/gamemode/modules/clothing/sh_clothingdata.lua:41
2. SetEmployee - gamemodes/darkrp/gamemode/modules/policedatabase/gui/employee.lua:186
3. UpdateEmployeeList - gamemodes/darkrp/gamemode/modules/policedatabase/gui/employees.lua:44
4. Init - gamemodes/darkrp/gamemode/modules/policedatabase/gui/employees.lua:13
5. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:41
6. Init - gamemodes/darkrp/gamemode/modules/policedatabase/gui/window.lua:14
7. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:41
8. Open - gamemodes/darkrp/gamemode/modules/policedatabase/gui/window.lua:25
9. v - gamemodes/darkrp/gamemode/modules/jobs/police/cl_police.lua:25
10. Call - lua/includes/modules/hook.lua:96
11. v - gamemodes/darkrp/gamemode/modules/core/cl_keymousehook.lua:26
12. unknown - lua/includes/modules/hook.lua:96

Media: https://www.youtube.com/watch?v=juOUhjlP2VI
 
Upvote 0
Back
Top