11.10.2016, 09:48
Hi,
If player shoot to vehicle where is no driver, still onplayerweaponshoot get called?
If player shoot to vehicle where is no driver, still onplayerweaponshoot get called?
Description: This callback is called when a player fires a shot from a weapon. Only bullet weapons are supported. Only passenger drive-by is supported (not driver drive-by, and not sea sparrow / hunter shots). |
if( hittype == BULLET_HIT_TYPE_VEHICLE ) { if(!IsVehicleOccupied(hitid) { SetVehicleHealth(..); } }