[Ajuda] AntiDM
#7

Vou lhe dar as funзхes e dar exemplos.
GetPlayerWeapon
OnPlayerGiveDamage
OnPlayerTakeDamage
Код:
OnPlayerTakeDamage = Vк quem deu o dano

OnPlayerGiveDamage =  Vк quem recebeu o dano
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
    if(GetPlayerWeapon(playerid) == 22)
    {
        SendClientMessage(damagedid,-1,"Vocк levou tiro de uma 9mm");
    }
    return 1;
}
Reply


Messages In This Thread
AntiDM - by ipsLuan - 25.06.2014, 20:32
Re: AntiDM - by MultiKill - 25.06.2014, 20:35
Respuesta: AntiDM - by ipsLuan - 25.06.2014, 20:52
Re: AntiDM - by MultiKill - 25.06.2014, 20:56
Respuesta: AntiDM - by ipsLuan - 25.06.2014, 21:06
Re: Respuesta: AntiDM - by Alwe - 25.06.2014, 21:10
Re: AntiDM - by MultiKill - 25.06.2014, 21:12
Re: Respuesta: AntiDM - by DogeMan - 25.06.2014, 21:24
Re: Respuesta: AntiDM - by Alwe - 25.06.2014, 21:26
Respuesta: Re: Respuesta: AntiDM - by ipsLuan - 25.06.2014, 21:30

Forum Jump:


Users browsing this thread: 3 Guest(s)