SA-MP Forums Archive
[FilterScript] [FS]Simple Teamchat - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Simple Teamchat (/showthread.php?tid=139786)



[FS]Simple Teamchat - NitroSWA - 06.04.2010


Simple Teamchat By [SWA]Nitrous & [SWA]BurningSWA

_________________________________________________
This is the most easiest, smallest filterscript u ever saw or will see!

Usage:
Simple
Just put a '!' Before your text and every1 of ur team can read it

[WARNING]
It works with 'GetPlayerTeam(playerid);' And not with gTeam[playerid]!!!


Download


Re: [FS]Simple Teamchat - Lorenc_ - 06.04.2010

simple but cool


Re: [FS]Simple Teamchat - aircombat - 06.04.2010

nice one , here is the version for the gTeam :
Код:
public OnPlayerText(playerid, text[])
{

		new string[256];
 		if (text[0] == '!')
  	{
		new name[24];
		GetPlayerName(playerid, name, 24);
		format(string, 256, "[Team] %s : %s", name,text[1]);
		for (new a = 0; a < 20; a++) {
		if (IsPlayerConnected(a)) {
		if (gTeam[a] == gTeam[playerid]) SendClientMessage(a, 0xFF9900AA, string);
		}
		}
		return 0;
	}
	return 1;
}



Re: [FS]Simple Teamchat - NitroSWA - 07.04.2010

Ah nice,
but u cant put that in a FS right?
or can it still check ur team then?

cuz i think that its part of the GM

aw well...
nice job :O


Re: [FS]Simple Teamchat - BurningSWA - 07.04.2010

Quote:
Originally Posted by NitroSWA
Ah nice,
but u cant put that in a FS right?
or can it still check ur team then?

cuz i think that its part of the GM

aw well...
nice job :O
nitro is right.
what you made can be used in a GM with gTeam,but not in a FS.
but not bad,anyway


Re: [FS]Simple Teamchat - HAYTXA - 08.04.2010

Simple and nice.


Re: [FS]Simple Teamchat - [MK]Soprano - 08.04.2010

Perfect


Re: [FS]Simple Teamchat - NitroSWA - 10.04.2010

Thx all