22.11.2017, 20:27
PHP код:
if(eDuelo[playerid] == false && eDuelo[damagedid] == false)
{
if(GetPlayerColor(playerid) == GetPlayerColor(damagedid))
{
GameTextForPlayer(playerid, "~r~ANT KILL TEAM!", 1000,1);
new Float: Vida1;
new Float: Colete1;
GetPlayerHealth(damagedid, Vida1);
GetPlayerArmour(damagedid, Colete1);
SetPlayerHealth(damagedid, Vida1);
SetPlayerArmour(damagedid, Colete1);
return 0;
}
if(Player[playerid][pGangues] == Player[damagedid][pGangues])
{
GameTextForPlayer(playerid, "~r~ANT KILL TEAM!", 1000,1);
new Float: Vida1;
new Float: Colete1;
GetPlayerHealth(damagedid, Vida1);
GetPlayerArmour(damagedid, Colete1);
SetPlayerHealth(damagedid, Vida1);
SetPlayerArmour(damagedid, Colete1);
return 0;
}
}
@edit