Thread: Chat room issue
View Single Post
  #5  
Old 09-04-2011, 09:09 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
This is how:

PHP Code:
// other code
for (temp.plallplayers) {
  if (
temp.pl.level != NULL) {
    
temp.pl.triggerclient(this.name"gettext"params[1]);
  }
}
// other code 
If players can be in different chat rooms then you can use:

if (temp.pl.clientr.chatroom == clientr.chatroom)

Instead of sending it to everyone.
__________________
Quote:
Reply With Quote