My teamchat fails
#8

Quote:
Originally Posted by IntrozeN
public OnPlayerText(playerid, text[])
{
new string[256];
if(text[0] == '!')
{
for(new i = 0; i <= MAX_PLAYERS; i++ )
{
if(gTeam[playerid] == gTeam[i])
format(string, sizeof(string), "(Team) %s", text[1]);
SendPlayerMessageToPlayer(i, playerid, string);
}
return 0;
}

return 0;
}
Did you even read the other posts? He already fixed that problem. And this code will make it to where you can't ever talk unless it's team chat.
Reply


Messages In This Thread
My teamchat fails - by GTA_Rules - 28.03.2009, 08:55
Re: My teamchat fails - by pen_theGun - 28.03.2009, 09:27
Re: My teamchat fails - by GTA_Rules - 28.03.2009, 11:56
Re: My teamchat fails - by [M2S]moe - 28.03.2009, 12:56
Re: My teamchat fails - by GTA_Rules - 28.03.2009, 14:10
Re: My teamchat fails - by introzen - 28.03.2009, 14:20
Re: My teamchat fails - by GTA_Rules - 28.03.2009, 17:34
Re: My teamchat fails - by Backwardsman97 - 28.03.2009, 17:40
Re: My teamchat fails - by GTA_Rules - 28.03.2009, 21:14
Re: My teamchat fails - by pen_theGun - 28.03.2009, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)