[Pedido] Diminuir dano da arma
#7

acho que eu consegui resolver com:
PHP код:
new Float:HP;
        new 
Float:Armor;
        
GetPlayerArmour(damagedidArmor);
        
GetPlayerHealth(damagedidHP);
        if(
Armor 1)
       {
        if(
weaponid == 38SetPlayerHealth(damagedidHP+amount-46.5);
        if(
Armor <= 100)
        {
        if(
weaponid == 38SetPlayerArmour(damagedidArmor+amount-46.5);
        } 
isso no OnPlayerGiveDamage
Agradeзo a Atenзгo e ajuda de todos.
Reply


Messages In This Thread
Diminuir dano da arma - by MateGPlay - 07.11.2018, 21:49
Re: Diminuir dano da arma - by ipsLuan - 08.11.2018, 01:08
Re: Diminuir dano da arma - by MateGPlay - 08.11.2018, 12:45
Re: Diminuir dano da arma - by PT - 08.11.2018, 12:54
Re: Diminuir dano da arma - by Malandrin - 08.11.2018, 15:37
Re: Diminuir dano da arma - by KoloradO - 08.11.2018, 18:02
Re: Diminuir dano da arma - by MateGPlay - 10.11.2018, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)