Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-14-2008, 01:32 PM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
for (temp.pl : players)

Well, I am currently making an Eventy System, and a problem popped up:

As example here:

PHP Code:
  if (params[0] == "EventStart") {
    for (
temp.pl players) {
      
findPlayerbycommunityname(temp.pl).chat "Event" SPC serverr.eventmsg SPC "has started! Say :join to join it!";
    }
    
serverr.event true;
  } 

I want that all the players on the server's chat get changed, but only the chat of the players that are in the same level as I am gets changed.
I think I am using for(tmp.pl : players) wrong or something :o

Any suggestions?
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:38 AM.


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