Garry's Mod

Garry's Mod

Ghost Town
Onemario 2021 年 12 月 15 日 下午 2:13
Lua Errors after loading in/cleaning up everything
Because Steam won't allow screenshots or images in Discussions, I"ll try and just type out what they say


Error 1
lua/includes/extensions/entity.lua:240: bad argument #3 to 'SetFunc' (string expected, got nil)
1. SetFunc - [C]:-1
2._newindex - lua/includes/extensions/entity.lua:240
3. SetNewPlayerModel - lua/includes/extensions/entity.lua:328
4. unknown - lua/entities/game_modelswap.lua:9

Error 2
lua/entities/game_modelswap.lua:16: bad argument #1 to 'SetModel' (string expected, got nil)
1. SetModel - [C]:-1
2. unknown - lua/entities/game_modelswap.lua:16

Error 3
lua/includes/extensions/entity.lua:240: bad argument #3 to 'SetFunc' (string expected, got nil)
1. SetFunc - [C]:-1
2._newindex - lua/includes/extensions/entity.lua:240
3. SetNewPlayerModel - lua/includes/extensions/entity.lua:328
4. unknown - lua/entities/game_modelswap.lua:9
5. CleanUpMap - [C]:-1
6. unkown lua/includes/modules/cleanup.lua:170
7. unknown lua/includes/modules/concommand.lua:54

Error 4
lua/entities/game_modelswap.lua:16: bad argument #1 to 'SetModel' (string expected, got nil)
1. SetModel - [C]:-1
2. unknown - lua/entities/game_modelswap.lua:16
3. unknown lua/includes/modules/cleanup.lua:170
4. unknown lua/includes/modules/concommand.lua:54

Yes I did just type that all out.
< >
正在显示第 1 - 2 条,共 2 条留言
Abi  [开发者] 2021 年 12 月 16 日 上午 3:04 
This is all part of the lua code that changes a playermodel under specific events, It wasnt made by me so I unfortunately wouldn't know how to fix.
Onemario 2021 年 12 月 16 日 上午 10:10 
引用自 Chopper
This is all part of the lua code that changes a playermodel under specific events, It wasnt made by me so I unfortunately wouldn't know how to fix.
Oof. Well, thanks for the answer.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50