Jump to content
  • 0

Team Chat


Th3_Bes7

Question

2 answers to this question

Recommended Posts

Il fac eu acum pe loc:

La OnPlayerText:

if(text[0] = '#') //schimba # daca nu vrei sa fie team chat pe # 
{
	for(new i; i < MAX_PLAYERS; i ++ )
	{
		if(GetPlayerTeam(playerid) == GetPlayerTeam(i) ) return SendClientMessage(playerid, i, text[1]);
	}
}

Sper sa mearga, nu sunt sigur la faza cu text[1]. Merge doar la scripturile cu SetPlayerTeam.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.