[Pedido] 3 itens!
#9

Quote:
Originally Posted by Pablo_Mantega
Посмотреть сообщение
Temos que ser Sinceros
Ser sincero й uma coisa, fazer brincandeiras idiotas na hora errada й outra...

Pelomenos estou fazendo meu gm do zero com todos sistemas proprios.. Nгo editando BMG.. Boa tarde.

@Topic

Vlw a todos que me ajudaram!

@edit

Esse codigo funciona?
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid) {
    new Float: Life[2];
    GetPlayerHealth(damagedid, Life[0]);
    GetPlayerArmour(damagedid, Life[1]);
    if(Life[1]) {
        if(amount > Life[1]) {
            Life[0] = Life[0] - (amount - Life[1]);
            SetPlayerArmour(damagedid, 0.0);
            SetPlayerHealth(damagedid, Life[0]);
            return 1;
        }
        Life[1] = Life[1] - amount;
        SetPlayerArmour(damagedid, Life[1]);
    } else {
       Life[0] = Life[0] - amount;
        SetPlayerHealth(damagedid, Life[0]);
    }
    return 1;
}
Reply


Messages In This Thread
3 itens! - by PawnoBrasil[xPBx] - 02.08.2012, 04:47
Re: 3 itens! - by Maklister - 02.08.2012, 04:59
AW: 3 itens! - by Pablo_Mantega - 02.08.2012, 11:45
Re: 3 itens! - by Bieeel_Cwb - 02.08.2012, 13:25
Re: AW: 3 itens! - by PawnoBrasil[xPBx] - 02.08.2012, 14:55
Respuesta: 3 itens! - by [JD]BlackFire - 02.08.2012, 15:11
Re: 3 itens! - by Abravanel - 02.08.2012, 15:13
Re: AW: 3 itens! - by Pablo_Mantega - 02.08.2012, 15:26
Re: AW: 3 itens! - by PawnoBrasil[xPBx] - 02.08.2012, 15:52
Re: 3 itens! - by paulor - 02.08.2012, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)