General > Developers Corner
Help With Command
Livaco:
another eror *yawns*
--- Code: ---[ERROR] addons/ulx/lua/ulx/modules/sh/livaco.lua:17: attempt to call method 'defultAccess' (a nil value)
1. unknown - addons/ulx/lua/ulx/modules/sh/livaco.lua:17
--- End code ---
MrPresident:
defaultAccess
Like I said. You need to start proofreading your code. These are all stupid easy mistakes that you could easily fix yourself. You're being lazy and expecting everyone else to essentially do this for you.
Livaco:
I only started learning yesterday and I'm a noob at Lua
Plus I'm trying to learn Lua and your calling me lazy when I'm asking for help about something I'm new to
MrPresident:
There is a difference between being a noob and being lazy.
When the error tells you that defultAccess doesn't exist.. and instead of proofreading your code for spelling mistakes you come straight here and post the error hoping someone will just fix it for you is lazy. You will not learn that way.
Now.. on the flip side... if you do take time and look at it and still cant find the error, then by all means, ask for help. That's what we're here for. It's just that, you've posted typo after typo. Lua is easy in that it's english and easy to read. Check spelling and in lua capitalization makes a huge difference.
Also, as a tip, if you don't already use something like Notepad++ or Sublime to edit your lua code, I would highly recommend looking into one of them. I recommend Notepad++ for starting out but some people prefer Sublime as it has more features and better lua syntax highlighting.
Aaron113:
--- Quote from: MrPresident on April 02, 2015, 03:39:18 PM ---I recommend Notepad++ for starting out but some people prefer Sublime as it has more features and better lua syntax highlighting.
--- End quote ---
As someone who used to use Notepad++ all the time, I would recommend Sublime Text over it anyday.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version