PDA

View Full Version : PM Stuff


Warcaptain
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!

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

You can do:
PMEdit.sendpm(acc);

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