Add clan chat

This commit is contained in:
VortrexFTW
2020-09-09 03:50:09 -05:00
parent 5b91dc50b0
commit a9fc74e66e

View File

@@ -177,4 +177,15 @@ function meActionToNearbyPlayers(client, messageText) {
}
}
// ---------------------------------------------------------------------------
function clanChat(client, messageText) {
let clients = getClients();
for(let i in clients) {
if(getClientCurrentSubAccount(client).clan != getClientCurrentSubAccount(clients[i]).clan) {
messageClientClanChat(clients[i], client, messageText);
}
}
}
// ---------------------------------------------------------------------------