View Single Post
  #10  
Old 05-24-2010, 09:02 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
While player.chat does work when you're debugging your best bet in this scenario would be to use echos, preferably at the top like so:

PHP Code:
function onActionServerSide() {
  echo(
this.name "triggered by: " player.account);
  echo(
"Params: " params);
  
// other code follows

There's probably an error in your logic thats causing multiple triggers to occur, or the wrong one.

Hint: Your problem lies in your server-side players for loop.
__________________
Quote:
Reply With Quote