08.11.2014, 23:15
pawn Код:
if(gTeam[issuerid] == TEAM_COP || gTeam[playerid] == TEAM_CIVIL && GetPlayerWantedLevel(playerid) <=4)
{
GetPlayerHealth(playerid, hp);
GetPlayerArmour(playerid, armour);
if(GetPlayerWeapon(issuerid)) SetPlayerHealth(playerid, hp-0); SetPlayerArmour(playerid, armour-0);
}
This is working 90% but it actually makes the civilians lose their health,if you use a weapon that shoots bullets fast,such as M4,MP5,etc.
So can anyone help me fix this? Fix as there won't be any health loss?
Thanks in advance.