[Ajuda] dano no mesmo time
#5

vc n entendeu. caso o code esteja errado, desculpa й pq to no cel.

pawn Code:
new Float:vida, Float:colete;

public OnPlayerUpdate(playerid){

GetPlayerHealth(playerid, vida);
GetPlayerArmour(playerid, colete);
return 1;
}

// Em OnPlayerGiveDamage

if(GetPlayerTeam(playerid) == GetPlayerTeam(damagedid))
    {
        if(weaponid == 34 || bodypart == 9)
        {
            if(nox1[playerid] == 0 && nox1[damagedid] == 0)
            {
                SetPlayerArmour(damagedid, colete);

         
                SetPlayerHealth(damagedid, vida);
                return 1;
            }
        }
    }
Reply


Messages In This Thread
dano no mesmo time - by Caio_Freeze - 22.03.2014, 21:45
Re: dano no mesmo time - by Caio_Freeze - 22.03.2014, 23:21
Re: dano no mesmo time - by DannielCooper - 22.03.2014, 23:54
Re: dano no mesmo time - by Caio_Freeze - 22.03.2014, 23:59
Re: dano no mesmo time - by DannielCooper - 23.03.2014, 00:20
Re: dano no mesmo time - by Caio_Freeze - 23.03.2014, 00:44
Re: dano no mesmo time - by DannielCooper - 23.03.2014, 00:50
Re: dano no mesmo time - by Caio_Freeze - 23.03.2014, 00:52
Re: dano no mesmo time - by PT - 23.03.2014, 00:54
Re: dano no mesmo time - by DannielCooper - 23.03.2014, 01:02
Re: dano no mesmo time - by Caio_Freeze - 23.03.2014, 01:06
Re: dano no mesmo time - by DannielCooper - 23.03.2014, 01:19
Re: dano no mesmo time - by Kmatsu - 24.03.2014, 01:42
Re: dano no mesmo time - by Caio_Freeze - 24.03.2014, 01:53

Forum Jump:


Users browsing this thread: 3 Guest(s)