Bullet Hit Types

info

To be used with OnPlayerWeaponShot.


NameValue
BULLET_HIT_TYPE_NONE0
BULLET_HIT_TYPE_PLAYER1
BULLET_HIT_TYPE_VEHICLE2
BULLET_HIT_TYPE_OBJECT3
BULLET_HIT_TYPE_PLAYER_OBJECT4

caution

BULLET_HIT_TYPE_PLAYER is also called for NPCs. Actors are ignored by this callback and detects as BULLET_HIT_TYPE_NONE.