Author Topic: Ulx lua help  (Read 2422 times)

0 Members and 1 Guest are viewing this topic.

Offline Gigabait

  • Newbie
  • *
  • Posts: 13
  • Karma: -2
Ulx lua help
« on: February 06, 2017, 05:57:12 AM »
Me need help on ulx

Code: [Select]
ulx.crash( calling_ply, target_ply, should_silent ) // Original
ulx.crash( "Console", ply:Nick(), true )
Who is calling_ply if this code using in server side ? I don't understand :/
Code: [Select]
[ERROR] addons/customcommands/lua/ulx/modules/sh/cc_util.lua:393: attempt to index a
string value with bad key ('SendLua' is not part of the string library)
  1. error - [C]:-1
   2. __index - lua/includes/extensions/string.lua:301
    3. crash - addons/customcommands/lua/ulx/modules/sh/cc_util.lua:393
     4. fn - lua/autorun/server/sv_list.lua:13
      5. unknown - addons/ulib/lua/ulib/shared/hook.lua:179

I think my problem in wrong calling_ply on calling_ply

An Error Has Occurred!

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