General > Developers Corner
Ulx lua help
(1/1)
Gigabait:
Me need help on ulx
--- Code: ---ulx.crash( calling_ply, target_ply, should_silent ) // Original
ulx.crash( "Console", ply:Nick(), true )
--- End code ---
Who is calling_ply if this code using in server side ? I don't understand :/
--- Code: ---[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
--- End code ---
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
[0] Board index
Go to full version