#2

Just add pInjured at the playerinfo enum and under onplayerdeath:
pawn Код:
PlayerInfo[playerid][pInjured] = 1;
new name;
name = GetPlayerName(playerid);
for(new i; i<MAX_PLAYERS; i++)
{
            if(IsPlayerConnected(i))
            {
                      if(PlayerInfo[i][pMember] == faction id of ems)
                      {
                                SendClientMessage(i, -1, " %s in wounded and in need of of a medic,to accept the call use /acceptcall[name]");
                      }
            }
}
And the command i will make it for you ,i have made this code now and i am going to make the command now ,but i will use the pc,i will post it asap
Reply


Messages In This Thread
Help - by Diti1 - 06.03.2014, 20:45
Re: Help - by XK - 06.03.2014, 20:59
Re: Help - by Diti1 - 07.03.2014, 08:01

Forum Jump:


Users browsing this thread: 1 Guest(s)