Garry's Mod
Ghost Town
Onemario 15 DIC 2021 a las 14: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.
< >
Mostrando 1-2 de 2 comentarios
Abi  [desarrollador] 16 DIC 2021 a las 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 16 DIC 2021 a las 10:10 
Publicado originalmente por 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.
< >
Mostrando 1-2 de 2 comentarios
Por página: 1530 50