Clan chat
#5

Quote:
Originally Posted by HardRock
Посмотреть сообщение
Try....

PHP код:
stock SendClanMessage(colorstring[])
{
    foreach(
Playeri)
    {
        if(
PlayerInfo[i][pClan] == 1)// And if player is not in clan hes pClan be '0'.
        
{
            
SendClientMessage(icolorstring);
        }
    }
    return 
1;

There are 15 clans in total, this will only have clan id 1 have a clan chat.
Reply


Messages In This Thread
Clan chat - by ThaCrypte - 19.10.2013, 00:07
Re: Clan chat - by SilentSoul - 19.10.2013, 00:10
Re: Clan chat - by ThaCrypte - 19.10.2013, 00:16
Re: Clan chat - by HardRock - 19.10.2013, 00:16
Re: Clan chat - by ThaCrypte - 19.10.2013, 00:20
Re: Clan chat - by HardRock - 19.10.2013, 00:28
Re: Clan chat - by ThaCrypte - 19.10.2013, 00:37
Re: Clan chat - by HardRock - 19.10.2013, 00:40
Re: Clan chat - by ThaCrypte - 19.10.2013, 00:47
Re: Clan chat - by TonyII - 19.10.2013, 00:48

Forum Jump:


Users browsing this thread: 3 Guest(s)