General > Developers Corner
umsgRcv Not Working (I kinda assume)
OpticPotatOS:
So, I'm using ULib.umsgSend and Rcv to send a string to some derma code, and then clientRPC to send the derma function back, but if anyone connects to the server, I get this error that contains my file and file directory, anyone know what's up with this?
Error:
--- Code: ---[ERROR] addons/ulib/lua/ulib/client/cl_util.lua:40: attempt to index local 'um' (a nil value)
1. umsgRcv - addons/ulib/lua/ulib/client/cl_util.lua:40
2. unknown - addons/ulx/lua/ulx/modules/cl/cl_warn.lua:1
3. include - [C]:-1
4. unknown - addons/ulx/lua/ulx/cl_init.lua:12
5. include - [C]:-1
6. unknown - addons/ulx/lua/ulib/modules/ulx_init.lua:4
7. include - [C]:-1
8. unknown - addons/ulib/lua/ulib/cl_init.lua:23
9. include - [C]:-1
10. unknown - addons/ulib/lua/autorun/ulib_init.lua:5
--- End code ---
iViscosity:
Why are you using umsg? You could just use clientRPC. I'm confused lol
OpticPotatOS:
--- Quote from: iViscosity on June 20, 2016, 09:57:26 AM ---Why are you using umsg? You could just use clientRPC. I'm confused lol
--- End quote ---
I thought clientRPC was only for functions, I'm trying to send a string from the server to the client.
iViscosity:
But aren't you trying to make derma?
OpticPotatOS:
Yeah, I send the reason to the client file, and then send the function back.
Navigation
[0] Message Index
[#] Next page
Go to full version