General > Developers Corner
Leave Message on Server that Displays to a joining Steam ID?
Megiddo:
--- Quote from: Decicus on January 17, 2014, 06:41:28 AM ---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.
--- End quote ---
What is the problem exactly?
Decicus:
--- Quote from: Megiddo on January 17, 2014, 04:59:37 PM ---What is the problem exactly?
--- End quote ---
It doesn't save the data at all and errors me out.
I tried making a simple test script where the Steam ID and message were already fixed (static), it still errored me out.
The code is pretty much what I put above.
The error:
--- Code: ---attempt to call field 'SetPData' (a nil value)
--- End code ---
Megiddo:
Are you calling module() in the file where you're using SetPData?
Decicus:
--- Quote from: Megiddo on January 18, 2014, 06:30:57 AM ---Are you calling module() in the file where you're using SetPData?
--- End quote ---
I didn't know that was necessary.
Megiddo:
No, it's not. I was just trying to get an idea of what may be wrong.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version