ULX

Author Topic: Help With Command  (Read 5110 times)

0 Members and 1 Guest are viewing this topic.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Help With Command
« Reply #15 on: April 03, 2015, 08:40:48 AM »
last thing, how do I make a string? a error said that it expected a string instead of a table on line 17
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Help With Command
« Reply #16 on: April 03, 2015, 09:50:24 AM »
What's the line of code it's talking about?  The problem is you're simply giving something a table instead of a string by the sounds of it.  Most likely just something got mixed up.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Help With Command
« Reply #17 on: April 03, 2015, 10:27:09 AM »
if u need the error code its
Code: [Select]
[ERROR] bad argument #1 to ULib.cmds.TranslateCommand:defaultAccess (string expected, got table)
  1. error - [C]:-1
   2. checkArg - addons/ulib/lua/ulib/shared/misc.lua:520
    3. defaultAccess - addons/ulib/lua/ulib/shared/commands.lua:1218
     4. unknown - addons/ulx/lua/ulx/modules/sh/livaco.lua:17
      5. include - [C]:-1
       6. unknown - addons/ulx/lua/ulx/cl_init.lua:17
        7. include - [C]:-1
         8. unknown - addons/ulx/lua/ulib/modules/ulx_init.lua:4
          9. include - [C]:-1
           10. unknown - addons/ulib/lua/ulib/cl_init.lua:23
            11. include - [C]:-1
             12. unknown - addons/ulib/lua/autorun/ulib_init.lua:5
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: Help With Command
« Reply #18 on: April 03, 2015, 10:46:07 AM »
Aaron asked for the line of code not the error, show us the line it's talking about

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given