Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 08-14-2008, 07:14 PM
Vulgar Vulgar is offline
()
Vulgar's Avatar
Join Date: May 2008
Location: Chesapeake, Virginia
Posts: 59
Vulgar is an unknown quantity at this point
Send a message via AIM to Vulgar
Quote:
Originally Posted by Frankie View Post
I can't get it -.-

PHP Code:
function Admin_TextList1.onDblClick()
{
  
temp.toks params[1].tokenize(":");
  for (
temp.plallplayers)
  {
    if (
pl == temp.toks[0] && pl.headimg == "era_head-remotecontrol.png")
    {
      
this.pmAccount pl;
    }
  }
  (@ 
"-Playerlist").openPMWindow({findPlayer(this.pmAccount)}, false); 

it's supposed to PM the RCs but if you have player and RC open it will try PMing the player.

so I'm using the allplayers so I can get the ID of the RC and not the player, but I can't get it to work right.
Wouldn't you want it to check for player.level = NULL? If not then why.
__________________
.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.