Alright so another thing, is there a way to get a list of all players in a guild? I did try
PHP Code:
for (temp.i: allplayers) {
if (temp.i == "Guild") {
temp.a = findplayerbycommunityname(temp.i);
echo(temp.a);
}
}
It's just giving me one member with the tag on... Any other ideas how I can set them in an array?
|
PHP Code:
for(temp.pl : allplayers) {
if(temp.pl == "Guild" && temp.pl.level != NULL) {
temp.array[temp.playerCount] = findPlayerByCommunityName(temp.pl);
temp.playerCount ++;
}
}
echo(temp.array);
Hopefully that should work as intended.