View Full Version : PM Stuff

02-03-2006, 08:41 AM
So... how does this PM stuff work?

ie: GuiPMEditCtrl

I see it has sendpm and sendmasspm.. but im not at all sure how to use it..

I see sendpm(obj) is obj the account name, or the message? and if its the message.. how does it know where to send the PM to?

ALSO.. this is not about the severside sendpm that sends a PM from the NPC-Server.. this is about the GUI command that sends a PM from the player itself.

If anyone can offer some help, it would be great!

02-03-2006, 09:47 AM
Let's say you have a GuiPMEditCtrl named 'PMEdit'.

You can do:

That will send the text entered in the GuiPMEditCtrl to the player (GuiPMEditCtrl is basically GuiMLTextEditCtrl with the option to send pms to players).