All pastes #505589 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-23 17:28 UTC
rendered paste body
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;
}