1LoL1 Posted July 22, 2015 Posted July 22, 2015 How to fix this error please? local day, month, year = getRealTime() dxDrawText(""..day.."."..month.."."..year, screenWidth*0.750, screenHeight*0.100, screenWidth*0.988, screenHeight*0.089, tocolor(50, 206, 50, 255), 1.70, "sans", "left", "top", false, false, false, false, false) ERROR: test\client.lua:21: attempt to concatenate local "year" (a nil value)
1B0Y Posted July 22, 2015 Posted July 22, 2015 local realTime = getRealTime() local day, month, year = realTime.monthday, realTime.month+1, realTime.year+1900 dxDrawText(day.."/"..month.."/"..year, screenWidth*0.750, screenHeight*0.100, screenWidth*0.988, screenHeight*0.089, tocolor(50, 206, 50, 255), 1.70, "sans", "left", "top", false, false, false, false, false) Founder of Kutmode - http://kutmode.com | https://discord.gg/P3FXVnF (Retired) Leading Developer of Grand Theft International (Retired) Leading Developer of Full Theft Auto. (Retired) Owner of SourceMod.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now