**Hi Facepunch ! **
So i’ m working on my server right now and i made a lot of things. But i’ ve a few problem. One of my addon is creating script error. I need help to fix it .
**So here is the problem : **
My Weapon Loadout System is creating a script error:
[ERROR] addons/cod_loadout/lua/autorun/client/classmenu.lua:148: bad argument #1 to 'upper' (string expected, got nil) 1. upper - [C]:-1 2. unknown - addons/cod_loadout/lua/autorun/client/classmenu.lua:148
So i’ ve been in my “classmenu.lua” . The problem come from line 148. Here it is :
ClassButton.Paint = function() draw.DrawText(string.upper(v.name), "mw3fontsmall", ClassButton:GetWide() - ScreenScale(24 ), 0, Color(255, 255, 255), TEXT_ALIGN_RIGHT); end
Can anyone help me to fix this ?
And also. I’ m using ULX. Any one know how to disable the MOTD ?
Thank you. I hope you could help me.
-sorry for my english-