• Lua error.
    2 replies, posted
Timer Error: [perp2.5\gamemode\sh_modules\system_time_shared.lua:63] attempt to concatenate field 'CurrentTime' (a nil value) E [code]MONTH_DAYS = {5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5}; if (GAMEMODE.CurrentDay > MONTH_DAYS[GAMEMODE.CurrentMonth]) then -- the error line is here ( line 63 ). GAMEMODE.CurrentDay = 1; GAMEMODE.CurrentMonth = GAMEMODE.CurrentMonth + 1; if (GAMEMODE.CurrentMonth > 12) then GAMEMODE.CurrentMonth = 1; GAMEMODE.CurrentYear = GAMEMODE.CurrentYear + 1; // Happy near years end end [/code] I have checked all those variables they all exist and have a value assigned.
Its not that line/file. Theres no CurrentTime there
Problem solved, thanks! I didn't register the CurrentTime after selecting it from the database.
Sorry, you need to Log In to post a reply to this thread.