/sos message?
#7

pawn Код:
dcmd_sos(playerid, params[])
{
  for(new i = 0; i < MAX_PLAYERS; i++)
  {
    if(IsPlayerConnected(i))
    {
      if(GetPlayerTeam(i) == 0) // Change to the team ID of medic
      {
        format(string,sizeof(string),"[SOS] %s needs help at %s",PlayerName(playerid),params[6]);
        SendClientMessage(i,COLOR_RED,string);
        return 1;
      }
    }
  }
}
Something like this? Or do you want it to automatically output the players location if '/sos' is typed?
Reply


Messages In This Thread
/sos message? - by Torran - 04.02.2010, 21:14
Re: /sos message? - by Torran - 04.02.2010, 22:59
Re: /sos message? - by mansonh - 04.02.2010, 23:21
Re: /sos message? - by Torran - 04.02.2010, 23:33
Re: /sos message? - by mansonh - 04.02.2010, 23:41
Re: /sos message? - by Torran - 05.02.2010, 12:05
Re: /sos message? - by ettans - 05.02.2010, 12:10
Re: /sos message? - by Torran - 05.02.2010, 12:17
Re: /sos message? - by Doppeyy - 05.02.2010, 12:20
Re: /sos message? - by ettans - 05.02.2010, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)