General > Developers Corner
Leave Message on Server that Displays to a joining Steam ID?
Decicus:
--- Quote from: Cobalt77 on January 16, 2014, 11:10:17 AM ---Good timing, I am currently making a whole server mail addon that I will probably post here, and you can do exactly what you need with it.
--- End quote ---
Server mail? You mean emailing through the server almost like a form?
Storm:
Hmm. I put it in the folder you said to but I an getting this error when I use the ulx setmessage, etc command:
17:10:07 [ERROR] addons/ulib/lua/ulib/shared/commands.lua:890: attempt to index field 'type' (a nil value)
1. __fn - addons/ulib/lua/ulib/shared/commands.lua:890
2. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
3. unknown - lua/includes/modules/concommand.lua:69
[ERROR] addons/ulib/lua/ulib/shared/commands.lua:890: attempt to index field 'type' (a nil value)
1. __fn - addons/ulib/lua/ulib/shared/commands.lua:890
2. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
3. unknown - lua/includes/modules/concommand.lua:69
Cobalt:
--- Quote from: Decicus on January 16, 2014, 11:11:30 AM ---Server mail? You mean emailing through the server almost like a form?
--- End quote ---
Yeah pretty much. Send messages to online and offline players, etc. Will post soon, it's almost finished.
Decicus:
--- Quote from: Storm on January 16, 2014, 02:15:11 PM ---Hmm. I put it in the folder you said to but I an getting this error when I use the ulx setmessage, etc command:
17:10:07 [ERROR] addons/ulib/lua/ulib/shared/commands.lua:890: attempt to index field 'type' (a nil value)
1. __fn - addons/ulib/lua/ulib/shared/commands.lua:890
2. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
3. unknown - lua/includes/modules/concommand.lua:69
[ERROR] addons/ulib/lua/ulib/shared/commands.lua:890: attempt to index field 'type' (a nil value)
1. __fn - addons/ulib/lua/ulib/shared/commands.lua:890
2. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
3. unknown - lua/includes/modules/concommand.lua:69
--- End quote ---
Hmmm... not sure what could be causing this. If someone else doesn't help you, I'll test it/attempt to fix it tomorrow after school (on my phone atm).
--- Quote from: Cobalt77 on January 16, 2014, 03:24:02 PM ---Yeah pretty much. Send messages to online and offline players, etc. Will post soon, it's almost finished.
--- End quote ---
I didn't know that was even possible. Sounds awesome
Decicus:
Alright, I fixed the first error, it was a mistake on my end. I've edited the code for that error to not show.
However, I'm having an issue with util.SetPData. I don't know if it's my server, or if it's something else, but apparently that is "a nil value". So for any "GLua professionals", please help me.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version