Hi, in my server strartup console log i have lots of errors like this :
[ERROR] gamemodes/slashers/entities/entities/sls_radio/shared.lua:13: attempt to call method 'GetString' (a nil value)
1. unknown - gamemodes/slashers/entities/entities/sls_radio/shared.lua:13
2. include - [C]:-1
3. unknown - gamemodes/slashers/entities/entities/sls_radio/init.lua:14
Trying to create entities too early! (prop_physics)
The line 13 in sahred.lua :
ENT.PrintName = GM.LANG:GetString("radio_name")
I don't understand as it works for things that are not entities.
Can someone tell me wha'ts wrong ?
ENT.PrintName = "radio_name"
Maybe GM.LANG isn't loaded at this time of initialization, so it's nil.
Sorry, you need to Log In to post a reply to this thread.