06.03.2014, 20:59
Just add pInjured at the playerinfo enum and under onplayerdeath:
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
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]");
}
}
}