View Single Post
  #3  
Old 12-28-2011, 06:34 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
I know of that but what I wanted was something like I type something in a gui, the text will be sent serverside and than to the player who is supposed to get the PM (like findplayer(params[1]).sendpm(params[2]) for example).
When the player get´s the PM it will open a GUI with the text in it (custom window, not the default by Graal). Yet when a PM get´s sent with the default system I can check who has sent the PM.
PHP Code:
function onPM(other) {
  
player.chat other;

With the sendpm() it´s sent by the server which means my player will always say (npcserver). So I wanted to add a parameter which will send the players account of the player which sent the text.
__________________
MEEP!
Reply With Quote