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?