Graal Forums

Graal Forums (
-   NPC Scripting (
-   -   Read when PM received (

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:

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.