15.06.2009, 10:57
pawn Код:
public OnPlayerTeamPrivmsg(playerid, text[])
{
new
sSenderName[24],
sString[128];
GetPlayerName(playerid, sSenderName, sizeof sSenderName);
format(sString, sizeof sString, "TeamMessage <%s>: %s", senderName, text);
for(new iPlayer = 0 ; iPlayer < MAX_PLAYERS; iPlayer++)
{
if(IsPlayerAdmin(iPlayer))
{
SendPlayerMessage(iPlayer, 0xFFFFFFAA, sString);
}
}
return true;
}
The command is /tpm,
If you dont want to use that,
Then good luck lol