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
  #1  
Old 02-03-2009, 07:31 PM
Ronnie Ronnie is offline
Registered User
Join Date: Jun 2008
Location: Nj, USA
Posts: 48
Ronnie is on a distinguished road
Send a message via AIM to Ronnie
Searching through players.

So guys, I have a script and for my script it has a client string of theres set, and I checked and they do have the client string in there atts.
But it doesn't read it correctly and adds them to my gui anyway.


PHP Code:
   for(temp.aallplayers) {
    if(!
temp.a.isexternal) {
     
temp.b=findplayer(temp.a);
     
with(temp.b){
      if(
temp.b.client.guildmode == 3){
       return;
       }
       
i++;
       
addrow(i,temp.a.account ":" temp.a.nick);
       }    
      }
     } 
If you need the rest of the script it can be listed, but I tried multiple ways to go through the players client strings and they don't work.

thanks in advance!
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 06:06 PM.


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