[FilterScript] [FS]Simple Teamchat
#1


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
Reply
#2

simple but cool
Reply
#3

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;
}
Reply
#4

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
Reply
#5

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
Reply
#6

Simple and nice.
Reply
#7

Perfect
Reply
#8

Thx all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)