Quote:
Originally Posted by HardRock
PHP код:
stock SendClanMessage(color, string[])
{
foreach(Player, i)
{
if(PlayerInfo[i][pClan] >= 1)
{
SendClientMessage(i, color, string);
}
}
return 1;
}
or
PHP код:
stock SendClanMessage(color, clanid, string[])
{
foreach(Player, i)
{
if(PlayerInfo[i][pClan] == clanid)
{
SendClientMessage(i, color, string);
}
}
return 1;
}
|
Above one wont work, as it will send a clan message to all clans, and not to only clan members, not sure about the second one because i can't test it atm. I think it won't work.