Graal Forums

Graal Forums (http://forums.graalonline.com/forums/index.php)
-   NPC Scripting (http://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Read when PM received (http://forums.graalonline.com/forums/showthread.php?t=134267481)

sssssssssss 12-01-2012 07:49 PM

Read when PM received
 
I also searched this, and unless my search is being funny, there is nothing in scripting with "PM" at all......

...Anyways.... I'm just trying to read when the player gets a PM. This doesn't work serverside:

Graal Script Code:

function onPM()
{
  
// do stuff


Also need the params if it has any...

Tigairius 12-01-2012 07:52 PM

Well, you're on the right track. Use the same event, but clientsided.

Graal Script Code:

//#CLIENTSIDE
function onPM(otherplayer) {



sssssssssss 12-01-2012 08:22 PM

Thank you


All times are GMT +2. The time now is 02:07 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.