[HELP] Anyone got any idea?
#7

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
Reply


Messages In This Thread
[HELP] Anyone got any idea? - by FreddeN - 14.06.2009, 22:20
Re: [HELP] Anone got any idea? - by Weirdosport - 14.06.2009, 22:29
Re: [HELP] Anone got any idea? - by Moustafa - 14.06.2009, 23:46
Re: [HELP] Anone got any idea? - by FreddeN - 15.06.2009, 10:44
Re: [HELP] Anone got any idea? - by JoeDaDude - 15.06.2009, 10:47
Re: [HELP] Anone got any idea? - by FreddeN - 15.06.2009, 10:51
Re: [HELP] Anyone got any idea? - by JoeDaDude - 15.06.2009, 10:57
Re: [HELP] Anyone got any idea? - by FreddeN - 15.06.2009, 11:00

Forum Jump:


Users browsing this thread: 2 Guest(s)