[Ajuda] OnPlayerGiveDamage - Sistema de HIT
#4

jimmmy o meu iria funcionar corretamente ?

pawn Код:
if(weaponid == 34)
    {
    if(damagedid != INVALID_PLAYER_ID)
    {
        new string[128], hitado[MAX_PLAYER_NAME];
        GetPlayerName(damagedid, hitado, sizeof (hitado));
        new Float:x, Float:y, Float:z;
        GetPlayerPos(damagedid, x, y, z);
        new Float: distancia = GetPlayerDistanceFromPoint(playerid, x, y, z);
        format(string, sizeof(string), "{B50909}[H.I.T] {FFFFFF}Hit confirmando em:{17A80F}%s[%d]:{FFFFFF}Distancia {17A80F}.:%d Feet(s) [Danos: %d]",hitado, damagedid, distancia, amount);
        SendClientMessage(playerid , 0xFFFFFFFF, string);
    }
    }
Reply


Messages In This Thread
Distancia entre player - edit - by ModaLOKO - 15.05.2015, 23:17
Re: OnPlayerGiveDamage - Sistema de HIT - by Bruno_Cyra - 16.05.2015, 15:06
Re: OnPlayerGiveDamage - Sistema de HIT - by Jimmmy - 16.05.2015, 16:07
Re: OnPlayerGiveDamage - Sistema de HIT - by ModaLOKO - 16.05.2015, 16:18
Re: OnPlayerGiveDamage - Sistema de HIT - by Jimmmy - 16.05.2015, 16:24
Re: OnPlayerGiveDamage - Sistema de HIT - by ModaLOKO - 16.05.2015, 16:25

Forum Jump:


Users browsing this thread: 3 Guest(s)