SendChanMsg(chanid,message[]) { new string[256]; format(string, sizeof(string), "* %s",message); for (new i; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i) && UserData[i][pChatChan] == chanid) { SendClientMessage(i,0x57D8FDFF,string); } } return 1; }