Jump to content

Question

2 answers to this question

Recommended Posts

Posted

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.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.