public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ ){ switch( hittype ) { case BULLET_HIT_TYPE_VEHICLE: { SetVehicleHealth(hidit, 10); } } return 1;}