Clan chat
#3

Код:
stock SendClanMessage(playerid, color, const msg[])
{
        for(new i = 0;i<MAX_PLAYERS;i++)
		{
			if(IsPlayerConnected(i) && !strcmp(DOF2_GetString(PFile(i),"ClanName"), DOF2_GetString(PFile(playerid),"ClanName"), false))
 			{
                SendClientMessage(i, color, msg);
        	}
    	}
        return 1;
}
Reply


Messages In This Thread
Clan chat - by DzDanieL - 01.02.2014, 07:32
Re: Clan chat - by streetpeace - 01.02.2014, 09:59
Re : Clan chat - by mirou123 - 01.02.2014, 10:52

Forum Jump:


Users browsing this thread: 1 Guest(s)