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 ![Wink](images/smilies/wink.png)
|
Yeah well you never know, seeing NPCs werent affected by OnPlayerTake/GiveDamage