11.06.2011, 21:03
So im trying to make teams for my Death Match in the making. So i found a tutorial here https://sampforum.blast.hk/showthread.php?tid=243194
but i do not know where to put
Please Help
but i do not know where to put
Код:
if(text[0] == '!')
{
new name[24], string[256];
GetPlayerName(playerid, name, 24);
format(string, sizeof(string), "[TEAM]%s: %s", name, text[1]);
for(new c = 0; c < MAX_PLAYERS; c++)
{
if(IsPlayerConnected©)
{
if(GetPlayerTeam© == GetPlayerTeam(playerid))
SendClientMessage(c, GetPlayerColor(playerid), string);
}
}return 0;
}


