Need team chat for my tdm!!!!!!!PLEASE
#4

public OnPlayerText(playerid,text[])
{
if(text[0] == '!')
{
new string[128];
format(string, sizeof(string), "Team Chat: %s", text[1]);
printf("%s", string);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && gTeam[i] == gTeam[playerid]) SendClientMessage(i, COLOR, string);
}
return 0;
}
Reply


Messages In This Thread
Need team chat for my tdm!!!!!!!PLEASE - by Nexotronix - 27.01.2010, 16:48
Re: Need team chat for my tdm!!!!!!!PLEASE - by Cry_Wolf - 27.01.2010, 16:53
Re: Need team chat for my tdm!!!!!!!PLEASE - by Nexotronix - 27.01.2010, 16:54
Re: Need team chat for my tdm!!!!!!!PLEASE - by deather - 27.01.2010, 17:09
Re: Need team chat for my tdm!!!!!!!PLEASE - by hvampire - 04.02.2010, 21:42

Forum Jump:


Users browsing this thread: 1 Guest(s)