BULLET_HIT_TYPE_NPC?
#3

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
    if (hittype == BULLET_HIT_TYPE_PLAYER  && IsPlayerNPC(hitid)) {
        // BULLET_HIT_TYPE_NPC
    }
}
I really doubt that we need an extra hittype for that
Yeah well you never know, seeing NPCs werent affected by OnPlayerTake/GiveDamage
Reply


Messages In This Thread
BULLET_HIT_TYPE_NPC? - by Elorreli - 20.01.2014, 16:46
Re: BULLET_HIT_TYPE_NPC? - by Mauzen - 20.01.2014, 16:49
Re : Re: BULLET_HIT_TYPE_NPC? - by Elorreli - 20.01.2014, 16:50
Re: BULLET_HIT_TYPE_NPC? - by iJumbo - 20.01.2014, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)