Bullet Hit Types

From SA-MP Wiki

Jump to: navigation, search

To be used with OnPlayerWeaponShot's 'hittype' parameter:

BULLET_HIT_TYPE_NONE            0
BULLET_HIT_TYPE_PLAYER          1
BULLET_HIT_TYPE_VEHICLE         2
BULLET_HIT_TYPE_OBJECT          3
BULLET_HIT_TYPE_PLAYER_OBJECT   4
Image:32px-Ambox_warning_orange.png

Note

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