General > Developers Corner
Simple Question
Janjakob2000:
--- Quote from: MrPresident on July 18, 2015, 08:36:14 PM ---in your code, you are passing calling_ply through the function. This is going to be your player entity.
So instead of Player you would use calling_ply.
I hope that makes sense?
Notice the line right above the line you added is calling_ply:SendLua
You would need to use the same player entity for your PrintMessage function.
--- End quote ---
Thank you, it's really hard to start of learning to code if you don't even know parts of the language yet or don't know where to begin, I'm just a beginner trying to learn lua.
Navigation
[0] Message Index
[*] Previous page
Go to full version